about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 10:24:13 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 10:24:13 +0000
commit6ede11aa0ddb92f0e289eb2a2971c32eaf496bce (patch)
tree688599035a0f80139d65651283d9c755691f8a72
parent7595ddb8f97e4262b38e6e2a3c211204581171cc (diff)
downloadglibc-6ede11aa0ddb92f0e289eb2a2971c32eaf496bce.tar.gz
glibc-6ede11aa0ddb92f0e289eb2a2971c32eaf496bce.tar.xz
glibc-6ede11aa0ddb92f0e289eb2a2971c32eaf496bce.zip
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
	* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/generic/htonl.c6
-rw-r--r--sysdeps/generic/htons.c6
3 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 392d88c564..8520d3b928 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-01-02  Roland McGrath  <roland@frob.com>
 
+	* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
+	* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.
+
 	* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.
 
 	* hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup
diff --git a/sysdeps/generic/htonl.c b/sysdeps/generic/htonl.c
index 05cdd5a0d5..dfee1b0545 100644
--- a/sysdeps/generic/htonl.c
+++ b/sysdeps/generic/htonl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,9 @@
 #undef	htonl
 #undef	ntohl
 
-u_int32_t
+uint32_t
 htonl (x)
-     u_int32_t x;
+     uint32_t x;
 {
 #if BYTE_ORDER == BIG_ENDIAN
   return x;
diff --git a/sysdeps/generic/htons.c b/sysdeps/generic/htons.c
index dc426123a0..95c94de8a3 100644
--- a/sysdeps/generic/htons.c
+++ b/sysdeps/generic/htons.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -21,9 +21,9 @@
 #undef	htons
 #undef	ntohs
 
-u_int16_t
+uint16_t
 htons (x)
-     u_int16_t x;
+     uint16_t x;
 {
 #if BYTE_ORDER == BIG_ENDIAN
   return x;