summaryrefslogtreecommitdiff
path: root/inet/inet_netof.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 14:28:23 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 14:28:23 +0000
commitdc3064332cec5ca6edc9a44f5f6111e506eb037b (patch)
tree79686327822b075f3970aec7ef73372142760047 /inet/inet_netof.c
parent86af500777f45066aa6a6817d4b695cf4b626c38 (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/cvs/exc2signal-template' into cvs/exc2signal-template
Diffstat (limited to 'inet/inet_netof.c')
-rw-r--r--inet/inet_netof.c6
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);