diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-02-25 16:27:21 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-02-25 16:27:21 +0000 |
commit | 437024fa2427e83474557b60e17283fb88c2f468 (patch) | |
tree | f742c2f68bc85400d741b5610ad07248270671d8 | |
parent | c12cf2601f6d4ec7b15f5b4a04a4cd68ddf4304b (diff) |
remove unused/dangling prototypes and comment reference;
from Mark Lumsden
-rw-r--r-- | sbin/dhclient/dhclient.c | 6 | ||||
-rw-r--r-- | sbin/dhclient/dhcpd.h | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 752602ce923..16b3b2ee289 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.109 2007/02/13 21:54:22 stevesk Exp $ */ +/* $OpenBSD: dhclient.c,v 1.110 2007/02/25 16:27:20 stevesk Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -568,10 +568,6 @@ freeit: send_request(); } -/* - * state_requesting is called when we receive a DHCPACK message after - * having sent out one or more DHCPREQUEST packets. - */ void dhcpack(struct iaddr client_addr, struct option_data *options) { diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index eba223029fe..3ad7564b1de 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.64 2007/01/27 22:05:24 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.65 2007/02/25 16:27:20 stevesk Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -294,7 +294,6 @@ void send_decline(void); void state_reboot(void); void state_init(void); void state_selecting(void); -void state_requesting(void); void state_bound(void); void state_panic(void); @@ -315,14 +314,12 @@ int priv_script_go(void); void script_init(char *, struct string_list *); void script_write_params(char *, struct client_lease *); int script_go(void); -void client_envadd(const char *, const char *, const char *, ...); void script_set_env(const char *, const char *, const char *); void script_flush_env(void); int dhcp_option_ev_name(char *, size_t, const struct option *); struct client_lease *packet_to_lease(struct iaddr, struct option_data *); void go_daemon(void); -void client_location_changed(void); void routehandler(void); |