]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
authorRoland McGrath <roland@gnu.org>
Tue, 26 Oct 2004 18:11:31 +0000 (18:11 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 26 Oct 2004 18:11:31 +0000 (18:11 +0000)
type instead of uint16_t.  Formatting.

ChangeLog
sysdeps/gnu/netinet/udp.h

index f17c818c750fea65cadf9a8b3b82e257dbf63a80..67df0af51c5cecaae059c162ee310254c329f7fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
+       type instead of uint16_t.  Formatting.
+
 2004-10-25  Roland McGrath  <roland@redhat.com>
 
        * login/openpty.c (openpty): Add libutil_hidden_def.
index 8977712822b3f5e8a322bd2145506707d6c56dd6..45b69f7499494a73603ecbae2840489653933b38 100644 (file)
 
 /* UDP header as specified by RFC 768, August 1980. */
 #ifdef __FAVOR_BSD
+
 struct udphdr
 {
-  uint16_t uh_sport;           /* source port */
-  uint16_t uh_dport;           /* destination port */
-  uint16_t uh_ulen;            /* udp length */
-  uint16_t uh_sum;             /* udp checksum */
+  u_int16_t uh_sport;          /* source port */
+  u_int16_t uh_dport;          /* destination port */
+  u_int16_t uh_ulen;           /* udp length */
+  u_int16_t uh_sum;            /* udp checksum */
 };
+
 #else
 
 struct udphdr
 {
-  uint16_t source;
-  uint16_t dest;
-  uint16_t len;
-  uint16_t check;
+  u_int16_t source;
+  u_int16_t dest;
+  u_int16_t len;
+  u_int16_t check;
 };
 #endif