From 5dbc18b4607184ed39c5aa3af1dbb3ef00e9052f Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 25 Jul 2002 01:48:19 +0000 Subject: Change 'int pid' to 'pid_t pid' Submitted by: Bruce "Allah" Dang --- usr.sbin/arp/arp.c | 2 +- usr.sbin/ndp/ndp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index e6342ed..493d9e8 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -99,7 +99,7 @@ int my_ether_aton(char *a, struct ether_addr *n); int rtmsg(int cmd); int get_ether_addr(u_int32_t ipaddr, struct ether_addr *hwaddr); -static int pid; +static pid_t pid; static int nflag; /* no reverse dns lookups */ static int aflag; /* do it for all entries */ static int s = -1; diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index 8e2fb78..3ad148b 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -122,7 +122,7 @@ ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) -static int pid; +static pid_t pid; static int cflag; static int nflag; static int tflag; -- cgit v1.1