diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-09 12:35:13 +0000 |
commit | f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae (patch) | |
tree | 91ee95914c2b9a07817bd6f596fc3df758651147 /networking/udhcp/dhcpd.h | |
parent | 327fd47f362843fc62fbee6169904c416ca13d11 (diff) | |
download | busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.gz busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.tar.bz2 busybox-w32-f81e8dbc74186f34faa5ae2b0fe8bdc3f18114ae.zip |
*: make "pragma GCC visibility push(hidden)" less ugly
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index b4e180882..9667c61e8 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* dhcpd.h */ | 2 | /* dhcpd.h */ |
3 | #ifndef UDHCP_DHCPD_H | ||
4 | #define UDHCP_DHCPD_H 1 | ||
3 | 5 | ||
4 | #ifndef _DHCPD_H | 6 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
5 | #define _DHCPD_H | ||
6 | |||
7 | #if __GNUC_PREREQ(4,1) | ||
8 | # pragma GCC visibility push(hidden) | ||
9 | #endif | ||
10 | 7 | ||
11 | /************************************/ | 8 | /************************************/ |
12 | /* Defaults _you_ may want to tweak */ | 9 | /* Defaults _you_ may want to tweak */ |
@@ -134,8 +131,6 @@ void read_leases(const char *file) FAST_FUNC; | |||
134 | struct option_set *find_option(struct option_set *opt_list, uint8_t code) FAST_FUNC; | 131 | struct option_set *find_option(struct option_set *opt_list, uint8_t code) FAST_FUNC; |
135 | 132 | ||
136 | 133 | ||
137 | #if __GNUC_PREREQ(4,1) | 134 | POP_SAVED_FUNCTION_VISIBILITY |
138 | # pragma GCC visibility pop | ||
139 | #endif | ||
140 | 135 | ||
141 | #endif | 136 | #endif |