summaryrefslogtreecommitdiff
path: root/inet/inet_netof.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:29:38 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:29:38 +0000
commit7c7d34a16f08f84427b3f617313d9633423ad5eb (patch)
tree2c1ac6a7e6b47a49228b905f12b3604dfa4d1dc3 /inet/inet_netof.c
parent6772d640a4f4874166a61f1859e1660a2913a89d (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixes
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);