aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r--networking/udhcp/options.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 87440c30c..23370da6e 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -1,11 +1,9 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* options.h */ 2/* options.h */
3#ifndef _OPTIONS_H 3#ifndef UDHCP_OPTIONS_H
4#define _OPTIONS_H 4#define UDHCP_OPTIONS_H 1
5 5
6#if __GNUC_PREREQ(4,1) 6PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
7# pragma GCC visibility push(hidden)
8#endif
9 7
10#define TYPE_MASK 0x0F 8#define TYPE_MASK 0x0F
11 9
@@ -111,8 +109,6 @@ char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC;
111uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) FAST_FUNC; 109uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) FAST_FUNC;
112#endif 110#endif
113 111
114#if __GNUC_PREREQ(4,1) 112POP_SAVED_FUNCTION_VISIBILITY
115# pragma GCC visibility pop
116#endif
117 113
118#endif 114#endif