diff options
Diffstat (limited to 'usr.sbin/xntpd')
-rw-r--r-- | usr.sbin/xntpd/include/ntp_stdlib.h | 6 | ||||
-rw-r--r-- | usr.sbin/xntpd/lib/netof.c | 6 | ||||
-rw-r--r-- | usr.sbin/xntpd/lib/numtoa.c | 4 | ||||
-rw-r--r-- | usr.sbin/xntpd/lib/numtohost.c | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/xntpd/include/ntp_stdlib.h b/usr.sbin/xntpd/include/ntp_stdlib.h index 646ce60..19cdad8 100644 --- a/usr.sbin/xntpd/include/ntp_stdlib.h +++ b/usr.sbin/xntpd/include/ntp_stdlib.h @@ -79,9 +79,9 @@ extern char * inttoa P((long)); extern char * mfptoa P((u_long, u_long, int)); extern char * mfptoms P((u_long, u_long, int)); extern char * modetoa P((int)); -extern u_long netof P((u_long)); -extern char * numtoa P((u_long)); -extern char * numtohost P((u_long)); +extern u_int32_t netof P((u_int32_t)); +extern char * numtoa P((u_int32_t)); +extern char * numtohost P((u_int32_t)); extern int octtoint P((const char *, u_long *)); extern u_long ranp2 P((int)); extern char * refnumtoa P((u_long)); diff --git a/usr.sbin/xntpd/lib/netof.c b/usr.sbin/xntpd/lib/netof.c index 1823fb2..b8876c7 100644 --- a/usr.sbin/xntpd/lib/netof.c +++ b/usr.sbin/xntpd/lib/netof.c @@ -7,11 +7,11 @@ #include "ntp_fp.h" #include "ntp_stdlib.h" -u_long +u_int32_t netof(num) - u_long num; + u_int32_t num; { - register u_long netnum; + register u_int32_t netnum; netnum = num; if(IN_CLASSC(netnum)) diff --git a/usr.sbin/xntpd/lib/numtoa.c b/usr.sbin/xntpd/lib/numtoa.c index ef291c8..957e3c1 100644 --- a/usr.sbin/xntpd/lib/numtoa.c +++ b/usr.sbin/xntpd/lib/numtoa.c @@ -9,9 +9,9 @@ char * numtoa(num) - u_long num; + u_int32_t num; { - register u_long netnum; + register u_int32_t netnum; register char *buf; netnum = ntohl(num); diff --git a/usr.sbin/xntpd/lib/numtohost.c b/usr.sbin/xntpd/lib/numtohost.c index 9d83584..0d0ad6e 100644 --- a/usr.sbin/xntpd/lib/numtohost.c +++ b/usr.sbin/xntpd/lib/numtohost.c @@ -13,7 +13,7 @@ char * numtohost(netnum) - u_long netnum; + u_int32_t netnum; { char *bp; struct hostent *hp; |