diff options
Diffstat (limited to 'networking/libiproute/utils.h')
-rw-r--r-- | networking/libiproute/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 50a6c2026..b67619d20 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -6,6 +6,10 @@ | |||
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) | ||
10 | # pragma GCC visibility push(hidden) | ||
11 | #endif | ||
12 | |||
9 | extern family_t preferred_family; | 13 | extern family_t preferred_family; |
10 | extern smallint show_stats; /* UNUSED */ | 14 | extern smallint show_stats; /* UNUSED */ |
11 | extern smallint show_details; /* UNUSED */ | 15 | extern smallint show_details; /* UNUSED */ |
@@ -84,4 +88,8 @@ int dnet_pton(int af, const char *src, void *addr); | |||
84 | const char *ipx_ntop(int af, const void *addr, char *str, size_t len); | 88 | const char *ipx_ntop(int af, const void *addr, char *str, size_t len); |
85 | int ipx_pton(int af, const char *src, void *addr); | 89 | int ipx_pton(int af, const char *src, void *addr); |
86 | 90 | ||
91 | #if __GNUC_PREREQ(4,1) | ||
92 | # pragma GCC visibility pop | ||
93 | #endif | ||
94 | |||
87 | #endif /* __UTILS_H__ */ | 95 | #endif /* __UTILS_H__ */ |