summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.bootparamd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-06-23 09:28:57 +0000
committerderaadt <deraadt@openbsd.org>1997-06-23 09:28:57 +0000
commit538eba1003ae677ff498681de7408e7d6cb4a700 (patch)
tree96d326674ac881389a9b3d8c03dd004504c9d7c1 /usr.sbin/rpc.bootparamd
parentlong != int (diff)
downloadwireguard-openbsd-538eba1003ae677ff498681de7408e7d6cb4a700.tar.xz
wireguard-openbsd-538eba1003ae677ff498681de7408e7d6cb4a700.zip
long vs int
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index 8a6fc90fa5f..abec2474ba5 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -6,7 +6,7 @@
* Various small changes by Theo de Raadt <deraadt@fsa.ca>
* Parser rewritten (adding YP support) by Roland McGrath <roland@frob.com>
*
- * $Id: bootparamd.c,v 1.6 1997/01/17 07:14:26 millert Exp $
+ * $Id: bootparamd.c,v 1.7 1997/06/23 09:31:08 deraadt Exp $
*/
#include <sys/types.h>
@@ -37,7 +37,8 @@ int _rpcsvcdirty = 0;
int _rpcpmstart = 0;
int debug = 0;
int dolog = 0;
-unsigned long route_addr, inet_addr();
+in_addr_t route_addr;
+in_addr_t inet_addr();
struct sockaddr_in my_addr;
extern char *__progname;
char *bootpfile = _PATH_BOOTPARAMS;
@@ -134,7 +135,7 @@ bootparamproc_whoami_1_svc(whoami, rqstp)
bp_whoami_arg *whoami;
struct svc_req *rqstp;
{
- long haddr;
+ in_addr_t haddr;
static bp_whoami_res res;
if (debug)