summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-05 23:57:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-05 23:57:17 +0000
commitc9c5a960b51917f9efd8121b39d7cc34f28e9e27 (patch)
tree695fb9611826c57b29bbdf8cdfca5f5924e3dcee /sbin
parentfae6e53ecb31688158c76148621fd06f11590bff (diff)
remove even more goo
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/dhclient.c7
-rw-r--r--sbin/dhclient/dhcpd.h3
-rw-r--r--sbin/dhclient/errwarn.c3
3 files changed, 3 insertions, 10 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 1df475d0764..e11850a6e29 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.30 2004/03/02 18:49:21 deraadt Exp $ */
+/* $OpenBSD: dhclient.c,v 1.31 2004/03/05 23:57:16 deraadt Exp $ */
/* DHCP Client. */
@@ -303,11 +303,6 @@ usage(void)
exit(1);
}
-void
-cleanup(void)
-{
-}
-
/*
* Individual States:
*
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 65e4269ca44..312ed63c7a6 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.25 2004/03/02 18:49:21 deraadt Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.26 2004/03/05 23:57:16 deraadt Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -412,7 +412,6 @@ void client_location_changed(void);
void bootp(struct packet *);
void dhcp(struct packet *);
-void cleanup(void);
/* packet.c */
void assemble_hw_header(struct interface_info *, unsigned char *,
diff --git a/sbin/dhclient/errwarn.c b/sbin/dhclient/errwarn.c
index eb6d0f55b1a..005ea5976f6 100644
--- a/sbin/dhclient/errwarn.c
+++ b/sbin/dhclient/errwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errwarn.c,v 1.5 2004/02/07 13:26:35 henning Exp $ */
+/* $OpenBSD: errwarn.c,v 1.6 2004/03/05 23:57:16 deraadt Exp $ */
/* Errors and warnings... */
@@ -80,7 +80,6 @@ error(char *fmt, ...)
fprintf(stderr, "exiting.\n");
fflush(stderr);
}
- cleanup();
exit(1);
}