aboutsummaryrefslogtreecommitdiff
path: root/include/grp_.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grp_.h')
-rw-r--r--include/grp_.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/grp_.h b/include/grp_.h
index 061b86ef7..45ee22ba9 100644
--- a/include/grp_.h
+++ b/include/grp_.h
@@ -21,15 +21,13 @@
21 * POSIX Standard: 9.2.1 Group Database Access <grp.h> 21 * POSIX Standard: 9.2.1 Group Database Access <grp.h>
22 */ 22 */
23 23
24#if !ENABLE_USE_BB_PWD_GRP
25
26#include <grp.h>
27
28#else
29
30#ifndef _GRP_H 24#ifndef _GRP_H
31#define _GRP_H 1 25#define _GRP_H 1
32 26
27#if __GNUC_PREREQ(4,1)
28# pragma GCC visibility push(hidden)
29#endif
30
33/* The group structure. */ 31/* The group structure. */
34struct group { 32struct group {
35 char *gr_name; /* Group name. */ 33 char *gr_name; /* Group name. */
@@ -128,6 +126,8 @@ extern int getgrouplist(__const char *__user, gid_t __group,
128 of which USER is a member. Also include GROUP. */ 126 of which USER is a member. Also include GROUP. */
129extern int initgroups(__const char *__user, gid_t __group); 127extern int initgroups(__const char *__user, gid_t __group);
130 128
129#if __GNUC_PREREQ(4,1)
130# pragma GCC visibility pop
131#endif
131 132
132#endif /* grp.h */
133#endif 133#endif