diff options
Diffstat (limited to 'inet/inet_netof.c')
-rw-r--r-- | inet/inet_netof.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/inet/inet_netof.c b/inet/inet_netof.c index 0f048e6c46..22b91920b5 100644 --- a/inet/inet_netof.c +++ b/inet/inet_netof.c @@ -27,10 +27,6 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)inet_netof.c 8.1 (Berkeley) 6/4/93"; -#endif /* LIBC_SCCS and not lint */ - #include <sys/param.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -42,7 +38,7 @@ static char sccsid[] = "@(#)inet_netof.c 8.1 (Berkeley) 6/4/93"; in_addr_t inet_netof (struct in_addr in) { - u_int32_t i = ntohl(in.s_addr); + uint32_t i = ntohl(in.s_addr); if (IN_CLASSA(i)) return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT); |