aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 15f0d9a54..5a258c064 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -6,17 +6,14 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9 9#ifndef UDHCP_COMMON_H
10#ifndef _COMMON_H 10#define UDHCP_COMMON_H 1
11#define _COMMON_H
12 11
13#include "libbb.h" 12#include "libbb.h"
14#include <netinet/udp.h> 13#include <netinet/udp.h>
15#include <netinet/ip.h> 14#include <netinet/ip.h>
16 15
17#if __GNUC_PREREQ(4,1) 16PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
18# pragma GCC visibility push(hidden)
19#endif
20 17
21#define DEFAULT_SCRIPT CONFIG_UDHCPC_DEFAULT_SCRIPT 18#define DEFAULT_SCRIPT CONFIG_UDHCPC_DEFAULT_SCRIPT
22 19
@@ -103,8 +100,6 @@ int arpping(uint32_t test_ip, uint32_t from_ip, uint8_t *from_mac, const char *i
103# define DEBUG(str, args...) do {;} while (0) 100# define DEBUG(str, args...) do {;} while (0)
104#endif 101#endif
105 102
106#if __GNUC_PREREQ(4,1) 103POP_SAVED_FUNCTION_VISIBILITY
107# pragma GCC visibility pop
108#endif
109 104
110#endif 105#endif