about summary refs log tree commit diff
path: root/inet/netgroup.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-16 15:38:45 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-16 15:38:45 -0700
commit86466cd930d045a44cb7e85398660d9842e463c6 (patch)
tree74d46e57df979447a022296b2878a6a0efa61162 /inet/netgroup.h
parentc3c8283c06a96d981b4a4aaef246fadde7ddef1e (diff)
downloadglibc-86466cd930d045a44cb7e85398660d9842e463c6.tar.gz
glibc-86466cd930d045a44cb7e85398660d9842e463c6.tar.xz
glibc-86466cd930d045a44cb7e85398660d9842e463c6.zip
Do not pollute name space with internal_*netgrent functions.
Diffstat (limited to 'inet/netgroup.h')
-rw-r--r--inet/netgroup.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/inet/netgroup.h b/inet/netgroup.h
index 2c0d1a4831..f3797a698d 100644
--- a/inet/netgroup.h
+++ b/inet/netgroup.h
@@ -1,5 +1,5 @@
 /* Internal header for netgroup related functions.
-   Copyright (C) 1996, 1997, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -70,10 +70,16 @@ struct __netgrent
 
 /* The internal netgroup handling functions might be called from outside.  */
 extern int __internal_setnetgrent (const char *group,
-				   struct __netgrent *datap);
-extern void __internal_endnetgrent (struct __netgrent *datap);
+				   struct __netgrent *datap)
+  internal_function;
+libc_hidden_proto (__internal_setnetgrent)
+extern void __internal_endnetgrent (struct __netgrent *datap)
+  internal_function;
+libc_hidden_proto (__internal_endnetgrent)
 extern int __internal_getnetgrent_r (char **hostp, char **userp,
 				     char **domainp, struct __netgrent *datap,
-				     char *buffer, size_t buflen, int *errnop);
+				     char *buffer, size_t buflen, int *errnop)
+  internal_function;
+libc_hidden_proto (__internal_getnetgrent_r)
 
 #endif /* netgroup.h */