From 385b4562e39e373761fd62b0990dce02ff96661f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 26 Mar 2010 10:09:34 +0100 Subject: udhcp: cosmetic cleanups; one case of s/full_read/xread/ function old new delta dumpleases_main 632 623 -9 Signed-off-by: Denys Vlasenko --- networking/udhcp/dhcpd.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'networking/udhcp/dhcpd.h') 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 @@ /* vi: set sw=4 ts=4: */ -/* dhcpd.h */ +/* + * Licensed under GPLv2, see file LICENSE in this tarball for details. + */ #ifndef UDHCP_DHCPD_H #define UDHCP_DHCPD_H 1 @@ -65,8 +67,6 @@ struct server_config_t { #endif -/*** leases.h ***/ - typedef uint32_t leasetime_t; typedef int32_t signed_leasetime_t; @@ -101,8 +101,6 @@ struct dyn_lease *find_lease_by_nip(uint32_t nip) FAST_FUNC; uint32_t find_free_or_expired_nip(const uint8_t *safe_mac) FAST_FUNC; -/*** static_leases.h ***/ - /* Config file parser will pass static lease info to this function * which will add it to a data structure that can be searched later */ 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; #endif -/*** files.h ***/ - void read_config(const char *file) FAST_FUNC; void write_leases(void) FAST_FUNC; void read_leases(const char *file) FAST_FUNC; -- cgit v1.2.3