]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
authorRoland McGrath <roland@gnu.org>
Wed, 2 Jan 2002 10:24:13 +0000 (10:24 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 2 Jan 2002 10:24:13 +0000 (10:24 +0000)
* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.

ChangeLog
sysdeps/generic/htonl.c
sysdeps/generic/htons.c

index 392d88c5645afa103130759948d653be090f2412..8520d3b9281f018e9500e023d6a8577e139569b5 100644 (file)
--- 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
index 05cdd5a0d585e319bc0070b271e37b21d414f1e6..dfee1b054583b0ac5458dd82aba8ee5cf392de6d 100644 (file)
@@ -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;
index dc426123a0b79892c8ecb3f9de92b9b788f7d9d7..95c94de8a3a53304d27466d8e4e92a122c618404 100644 (file)
@@ -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;