diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 10:09:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 10:09:34 +0100 |
commit | 385b4562e39e373761fd62b0990dce02ff96661f (patch) | |
tree | 5446c10cd8fbde102f59705a9c0419227707c520 /networking/udhcp/dhcpd.h | |
parent | 968951fd0ced7d0d4b81c0ee4466eada93ae4128 (diff) | |
download | busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.tar.gz busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.tar.bz2 busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.zip |
udhcp: cosmetic cleanups; one case of s/full_read/xread/
function old new delta
dumpleases_main 632 623 -9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index f6187679d..149300b87 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -1,5 +1,7 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* dhcpd.h */ | 2 | /* |
3 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | ||
4 | */ | ||
3 | #ifndef UDHCP_DHCPD_H | 5 | #ifndef UDHCP_DHCPD_H |
4 | #define UDHCP_DHCPD_H 1 | 6 | #define UDHCP_DHCPD_H 1 |
5 | 7 | ||
@@ -65,8 +67,6 @@ struct server_config_t { | |||
65 | #endif | 67 | #endif |
66 | 68 | ||
67 | 69 | ||
68 | /*** leases.h ***/ | ||
69 | |||
70 | typedef uint32_t leasetime_t; | 70 | typedef uint32_t leasetime_t; |
71 | typedef int32_t signed_leasetime_t; | 71 | typedef int32_t signed_leasetime_t; |
72 | 72 | ||
@@ -101,8 +101,6 @@ struct dyn_lease *find_lease_by_nip(uint32_t nip) FAST_FUNC; | |||
101 | uint32_t find_free_or_expired_nip(const uint8_t *safe_mac) FAST_FUNC; | 101 | uint32_t find_free_or_expired_nip(const uint8_t *safe_mac) FAST_FUNC; |
102 | 102 | ||
103 | 103 | ||
104 | /*** static_leases.h ***/ | ||
105 | |||
106 | /* Config file parser will pass static lease info to this function | 104 | /* Config file parser will pass static lease info to this function |
107 | * which will add it to a data structure that can be searched later */ | 105 | * which will add it to a data structure that can be searched later */ |
108 | void add_static_lease(struct static_lease **st_lease_pp, uint8_t *mac, uint32_t nip) FAST_FUNC; | 106 | void add_static_lease(struct static_lease **st_lease_pp, uint8_t *mac, uint32_t nip) FAST_FUNC; |
@@ -118,8 +116,6 @@ void log_static_leases(struct static_lease **st_lease_pp) FAST_FUNC; | |||
118 | #endif | 116 | #endif |
119 | 117 | ||
120 | 118 | ||
121 | /*** files.h ***/ | ||
122 | |||
123 | void read_config(const char *file) FAST_FUNC; | 119 | void read_config(const char *file) FAST_FUNC; |
124 | void write_leases(void) FAST_FUNC; | 120 | void write_leases(void) FAST_FUNC; |
125 | void read_leases(const char *file) FAST_FUNC; | 121 | void read_leases(const char *file) FAST_FUNC; |