summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.bootparamd
diff options
context:
space:
mode:
authorhin <hin@openbsd.org>2002-06-11 18:49:18 +0000
committerhin <hin@openbsd.org>2002-06-11 18:49:18 +0000
commitb5b607a930afbb58e78f4cb0d920f009c36d5959 (patch)
tree679ef47cb3f1cdb85eb6fc42dd0e317f1ca17b4b /usr.sbin/rpc.bootparamd
parentFix tab. (diff)
downloadwireguard-openbsd-b5b607a930afbb58e78f4cb0d920f009c36d5959.tar.xz
wireguard-openbsd-b5b607a930afbb58e78f4cb0d920f009c36d5959.zip
-Wall cleanup
ok millert@, miod@
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-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