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/libiproute/utils.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/libiproute/utils.h')
-rw-r--r-- | networking/libiproute/utils.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 3603c75a7..ed03e785a 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -1,14 +1,12 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | #ifndef __UTILS_H__ | 2 | #ifndef UTILS_H |
3 | #define __UTILS_H__ 1 | 3 | #define UTILS_H 1 |
4 | 4 | ||
5 | #include "libnetlink.h" | 5 | #include "libnetlink.h" |
6 | #include "ll_map.h" | 6 | #include "ll_map.h" |
7 | #include "rtm_map.h" | 7 | #include "rtm_map.h" |
8 | 8 | ||
9 | #if __GNUC_PREREQ(4,1) | 9 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
10 | # pragma GCC visibility push(hidden) | ||
11 | #endif | ||
12 | 10 | ||
13 | extern family_t preferred_family; | 11 | extern family_t preferred_family; |
14 | extern smallint show_stats; /* UNUSED */ | 12 | extern smallint show_stats; /* UNUSED */ |
@@ -87,8 +85,6 @@ int dnet_pton(int af, const char *src, void *addr); | |||
87 | const char *ipx_ntop(int af, const void *addr, char *str, size_t len); | 85 | const char *ipx_ntop(int af, const void *addr, char *str, size_t len); |
88 | int ipx_pton(int af, const char *src, void *addr); | 86 | int ipx_pton(int af, const char *src, void *addr); |
89 | 87 | ||
90 | #if __GNUC_PREREQ(4,1) | 88 | POP_SAVED_FUNCTION_VISIBILITY |
91 | # pragma GCC visibility pop | ||
92 | #endif | ||
93 | 89 | ||
94 | #endif /* __UTILS_H__ */ | 90 | #endif |