summaryrefslogtreecommitdiff
path: root/include/grp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h
index fa381d2d0..45b21043c 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -133,6 +133,7 @@ extern struct group *getgrnam (__const char *__name);
extern int getgrent_r (struct group *__restrict __resultbuf,
char *__restrict __buffer, size_t __buflen,
struct group **__restrict __result);
+libc_hidden_proto(getgrent_r)
# endif
/* Search for an entry with a matching group ID.
@@ -142,6 +143,7 @@ extern int getgrent_r (struct group *__restrict __resultbuf,
extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf,
char *__restrict __buffer, size_t __buflen,
struct group **__restrict __result);
+libc_hidden_proto(getgrgid_r)
/* Search for an entry with a matching group name.
@@ -151,6 +153,7 @@ extern int getgrnam_r (__const char *__restrict __name,
struct group *__restrict __resultbuf,
char *__restrict __buffer, size_t __buflen,
struct group **__restrict __result);
+libc_hidden_proto(getgrnam_r)
# ifdef __USE_SVID
/* Read a group entry from STREAM. This function is not standardized
@@ -164,6 +167,7 @@ extern int fgetgrent_r (FILE *__restrict __stream,
struct group *__restrict __resultbuf,
char *__restrict __buffer, size_t __buflen,
struct group **__restrict __result);
+libc_hidden_proto(fgetgrent_r)
# endif
#endif /* POSIX or reentrant */
@@ -192,6 +196,7 @@ extern int getgrouplist (__const char *__user, __gid_t __group,
/* Set the group set for the current user to GROUPS (N of them). */
extern int setgroups (size_t __n, __const __gid_t *__groups) __THROW;
+libc_hidden_proto(setgroups)
/* Initialize the group set for the current user
by reading the group database and using all groups