diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
commit | f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch) | |
tree | 91ee95914c2b9a07817bd6f596fc3df758651147 /include/pwd_.h | |
parent | 327fd47f362843fc62fbee6169904c416ca13d11 (diff) | |
download | busybox-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/pwd_.h')
-rw-r--r-- | include/pwd_.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/pwd_.h b/include/pwd_.h index a0cf7c9f7..f52445ceb 100644 --- a/include/pwd_.h +++ b/include/pwd_.h | |||
@@ -21,12 +21,10 @@ | |||
21 | * POSIX Standard: 9.2.2 User Database Access <pwd.h> | 21 | * POSIX Standard: 9.2.2 User Database Access <pwd.h> |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef BB_PWD_H | 24 | #ifndef BB_PWD_H |
25 | #define BB_PWD_H 1 | 25 | #define BB_PWD_H 1 |
26 | 26 | ||
27 | #if __GNUC_PREREQ(4,1) | 27 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
28 | # pragma GCC visibility push(hidden) | ||
29 | #endif | ||
30 | 28 | ||
31 | /* This file is #included after #include <pwd.h> | 29 | /* This file is #included after #include <pwd.h> |
32 | * We will use libc-defined structures, but will #define function names | 30 | * We will use libc-defined structures, but will #define function names |
@@ -107,8 +105,6 @@ extern int fgetpwent_r(FILE *__restrict __stream, | |||
107 | will expect, but this need not be the format of the password file. */ | 105 | will expect, but this need not be the format of the password file. */ |
108 | /* UNUSED extern int getpw(uid_t __uid, char *__buffer); */ | 106 | /* UNUSED extern int getpw(uid_t __uid, char *__buffer); */ |
109 | 107 | ||
110 | #if __GNUC_PREREQ(4,1) | 108 | POP_SAVED_FUNCTION_VISIBILITY |
111 | # pragma GCC visibility pop | ||
112 | #endif | ||
113 | 109 | ||
114 | #endif /* pwd.h */ | 110 | #endif /* pwd.h */ |