diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-07-25 01:48:19 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-07-25 01:48:19 +0000 |
commit | 5dbc18b4607184ed39c5aa3af1dbb3ef00e9052f (patch) | |
tree | 7aa1da149413e9dc6c2639df962ad36ad0079a4e /usr.sbin | |
parent | b28c5c5701f62b2b15a6d6364416d9a04210bfc0 (diff) | |
download | FreeBSD-src-5dbc18b4607184ed39c5aa3af1dbb3ef00e9052f.zip FreeBSD-src-5dbc18b4607184ed39c5aa3af1dbb3ef00e9052f.tar.gz |
Change 'int pid' to 'pid_t pid'
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/arp/arp.c | 2 | ||||
-rw-r--r-- | 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; |