summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.bootparamd/bootparamd.c
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-11 18:49:19 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-11 18:49:19 +0000
commitdc517ef9f3e5b40dddfcd8b9003a313340b86edb (patch)
treeb7e1336cda8ea21a35e47b09cafd5b2813ac9196 /usr.sbin/rpc.bootparamd/bootparamd.c
parent8307ebc7a98d338e07e4c051d912237ddb937adf (diff)
-Wall cleanup
ok millert@, miod@
Diffstat (limited to 'usr.sbin/rpc.bootparamd/bootparamd.c')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index 9c5fce5d776..cbe74dee3b4 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootparamd.c,v 1.11 2002/02/16 21:28:08 millert Exp $ */
+/* $OpenBSD: bootparamd.c,v 1.12 2002/06/11 18:49:18 hin Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@@ -13,13 +13,20 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/socket.h>
+
#include <rpc/rpc.h>
#include <rpcsvc/bootparam_prot.h>
+#include <rpcsvc/ypclnt.h>
+#include <rpcsvc/yp_prot.h>
#include <stdio.h>
#include <netdb.h>
#include <ctype.h>
#include <syslog.h>
#include <string.h>
+#include <unistd.h>
+#include <err.h>
+#include <stdlib.h>
+
#include "pathnames.h"
#define MAXLEN 800