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 /networking/isrv.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 'networking/isrv.h')
-rw-r--r-- | networking/isrv.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/networking/isrv.h b/networking/isrv.h index c0158a3e3..f20714df8 100644 --- a/networking/isrv.h +++ b/networking/isrv.h | |||
@@ -8,9 +8,7 @@ | |||
8 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. | 8 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #if __GNUC_PREREQ(4,1) | 11 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
12 | # pragma GCC visibility push(hidden) | ||
13 | #endif | ||
14 | 12 | ||
15 | /* opaque structure */ | 13 | /* opaque structure */ |
16 | struct isrv_state_t; | 14 | struct isrv_state_t; |
@@ -36,6 +34,4 @@ void isrv_run( | |||
36 | int linger_timeout | 34 | int linger_timeout |
37 | ); | 35 | ); |
38 | 36 | ||
39 | #if __GNUC_PREREQ(4,1) | 37 | POP_SAVED_FUNCTION_VISIBILITY |
40 | # pragma GCC visibility pop | ||
41 | #endif | ||