aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/rtm_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/rtm_map.h')
-rw-r--r--networking/libiproute/rtm_map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/networking/libiproute/rtm_map.h b/networking/libiproute/rtm_map.h
index cbbcc214d..02fa77e42 100644
--- a/networking/libiproute/rtm_map.h
+++ b/networking/libiproute/rtm_map.h
@@ -2,10 +2,17 @@
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)
6# pragma GCC visibility push(hidden)
7#endif
8
5const char *rtnl_rtntype_n2a(int id, char *buf, int len); 9const char *rtnl_rtntype_n2a(int id, char *buf, int len);
6int rtnl_rtntype_a2n(int *id, char *arg); 10int rtnl_rtntype_a2n(int *id, char *arg);
7 11
8int get_rt_realms(uint32_t *realms, char *arg); 12int get_rt_realms(uint32_t *realms, char *arg);
9 13
14#if __GNUC_PREREQ(4,1)
15# pragma GCC visibility pop
16#endif
10 17
11#endif /* __RTM_MAP_H__ */ 18#endif /* __RTM_MAP_H__ */