diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index e6342edb8548..493d9e815cd1 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 8e2fb781e629..3ad148b4dcb5 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;