diff options
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r-- | networking/udhcp/options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index e9eeefb57..cf3fe3b18 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h | |||
@@ -3,6 +3,10 @@ | |||
3 | #ifndef _OPTIONS_H | 3 | #ifndef _OPTIONS_H |
4 | #define _OPTIONS_H | 4 | #define _OPTIONS_H |
5 | 5 | ||
6 | #if __GNUC_PREREQ(4,1) | ||
7 | # pragma GCC visibility push(hidden) | ||
8 | #endif | ||
9 | |||
6 | #define TYPE_MASK 0x0F | 10 | #define TYPE_MASK 0x0F |
7 | 11 | ||
8 | enum { | 12 | enum { |
@@ -112,4 +116,8 @@ char *dname_dec(const uint8_t *cstr, int clen, const char *pre); | |||
112 | uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen); | 116 | uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen); |
113 | #endif | 117 | #endif |
114 | 118 | ||
119 | #if __GNUC_PREREQ(4,1) | ||
120 | # pragma GCC visibility pop | ||
121 | #endif | ||
122 | |||
115 | #endif | 123 | #endif |