aboutsummaryrefslogtreecommitdiff
path: root/include/grp_.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-09 12:35:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-09 12:35:13 +0000
commitf81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch)
tree91ee95914c2b9a07817bd6f596fc3df758651147 /include/grp_.h
parent327fd47f362843fc62fbee6169904c416ca13d11 (diff)
downloadbusybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.gz
busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.bz2
busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.zip
*: make "pragma GCC visibility push(hidden)" less ugly
Diffstat (limited to 'include/grp_.h')
-rw-r--r--include/grp_.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/grp_.h b/include/grp_.h
index 3d00b4aa7..deaf9e6a3 100644
--- a/include/grp_.h
+++ b/include/grp_.h
@@ -15,18 +15,15 @@
15 You should have received a copy of the GNU Lesser General Public 15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free 16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */ 18 02111-1307 USA.
19 19 */
20/* 20/*
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#ifndef BB_GRP_H
24#define BB_GRP_H 1
23 25
24#ifndef BB_GRP_H 26PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
25#define BB_GRP_H 1
26
27#if __GNUC_PREREQ(4,1)
28# pragma GCC visibility push(hidden)
29#endif
30 27
31/* This file is #included after #include <grp.h> 28/* This file is #included after #include <grp.h>
32 * We will use libc-defined structures, but will #define function names 29 * We will use libc-defined structures, but will #define function names
@@ -115,8 +112,6 @@ extern int getgrouplist(const char *__user, gid_t __group,
115 of which USER is a member. Also include GROUP. */ 112 of which USER is a member. Also include GROUP. */
116extern int initgroups(const char *__user, gid_t __group); 113extern int initgroups(const char *__user, gid_t __group);
117 114
118#if __GNUC_PREREQ(4,1) 115POP_SAVED_FUNCTION_VISIBILITY
119# pragma GCC visibility pop
120#endif
121 116
122#endif 117#endif