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/rtm_map.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/rtm_map.h')
-rw-r--r-- | networking/libiproute/rtm_map.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/networking/libiproute/rtm_map.h b/networking/libiproute/rtm_map.h index 02fa77e42..ab1b70e45 100644 --- a/networking/libiproute/rtm_map.h +++ b/networking/libiproute/rtm_map.h | |||
@@ -1,18 +1,14 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | #ifndef __RTM_MAP_H__ | 2 | #ifndef RTM_MAP_H |
3 | #define __RTM_MAP_H__ 1 | 3 | #define RTM_MAP_H 1 |
4 | 4 | ||
5 | #if __GNUC_PREREQ(4,1) | 5 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
6 | # pragma GCC visibility push(hidden) | ||
7 | #endif | ||
8 | 6 | ||
9 | const char *rtnl_rtntype_n2a(int id, char *buf, int len); | 7 | const char *rtnl_rtntype_n2a(int id, char *buf, int len); |
10 | int rtnl_rtntype_a2n(int *id, char *arg); | 8 | int rtnl_rtntype_a2n(int *id, char *arg); |
11 | 9 | ||
12 | int get_rt_realms(uint32_t *realms, char *arg); | 10 | int get_rt_realms(uint32_t *realms, char *arg); |
13 | 11 | ||
14 | #if __GNUC_PREREQ(4,1) | 12 | POP_SAVED_FUNCTION_VISIBILITY |
15 | # pragma GCC visibility pop | ||
16 | #endif | ||
17 | 13 | ||
18 | #endif /* __RTM_MAP_H__ */ | 14 | #endif |