diff options
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 |