summaryrefslogtreecommitdiff
path: root/usr.sbin/bootpd/getether.c
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-10 19:53:37 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-10 19:53:37 +0000
commit6c92a002e822dbdbbbac9bc364854c2a215f8842 (patch)
tree76734d016fc04adf2503bda7f86fd80ec3859727 /usr.sbin/bootpd/getether.c
parentd328f1a8e63242fb10523bc18ea581ba277a12ef (diff)
-Wall cleanup
ok deraadt@
Diffstat (limited to 'usr.sbin/bootpd/getether.c')
-rw-r--r--usr.sbin/bootpd/getether.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bootpd/getether.c b/usr.sbin/bootpd/getether.c
index dc890db31d3..34f172800b5 100644
--- a/usr.sbin/bootpd/getether.c
+++ b/usr.sbin/bootpd/getether.c
@@ -11,6 +11,8 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <unistd.h>
+#include <string.h>
#include <ctype.h>
#include <syslog.h>
@@ -108,6 +110,7 @@ getether(ifname, eap)
#include <net/if_dl.h>
#include <net/if_types.h>
+int
getether(ifname, eap)
char *ifname; /* interface name from ifconfig structure */
char *eap; /* Ether address (output) */