Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Use _POSIX_SOURCE-safe type names



details:   https://anonhg.NetBSD.org/src/rev/38da123dc256
branches:  trunk
changeset: 487500:38da123dc256
user:      danw <danw%NetBSD.org@localhost>
date:      Thu Jun 08 19:01:44 2000 +0000

description:
Use _POSIX_SOURCE-safe type names

diffstat:

 sys/netinet6/in6.h |  8 ++++----
 sys/sys/un.h       |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r 5173c1b2548e -r 38da123dc256 sys/netinet6/in6.h
--- a/sys/netinet6/in6.h        Thu Jun 08 18:22:15 2000 +0000
+++ b/sys/netinet6/in6.h        Thu Jun 08 19:01:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6.h,v 1.14 2000/05/24 14:40:09 itojun Exp $  */
+/*     $NetBSD: in6.h,v 1.15 2000/06/08 19:01:44 danw Exp $    */
 /*     $KAME: in6.h,v 1.44 2000/05/24 08:50:17 itojun Exp $    */
 
 /*
@@ -424,15 +424,15 @@
  */
 struct ipv6_mreq {
        struct in6_addr ipv6mr_multiaddr;
-       u_int           ipv6mr_interface;
+       unsigned int    ipv6mr_interface;
 };
 
 /*
  * IPV6_PKTINFO: Packet information(RFC2292 sec 5)
  */
 struct in6_pktinfo {
-       struct in6_addr ipi6_addr;      /* src/dst IPv6 address */
-       u_int ipi6_ifindex;             /* send/recv interface index */
+       struct in6_addr ipi6_addr;      /* src/dst IPv6 address */
+       unsigned int    ipi6_ifindex;   /* send/recv interface index */
 };
 
 /*
diff -r 5173c1b2548e -r 38da123dc256 sys/sys/un.h
--- a/sys/sys/un.h      Thu Jun 08 18:22:15 2000 +0000
+++ b/sys/sys/un.h      Thu Jun 08 19:01:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: un.h,v 1.22 1999/06/24 14:07:44 kleink Exp $   */
+/*     $NetBSD: un.h,v 1.23 2000/06/08 19:01:45 danw Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -42,9 +42,9 @@
  * Definitions for UNIX IPC domain.
  */
 struct sockaddr_un {
-       u_char  sun_len;                /* total sockaddr length */
-       u_char  sun_family;             /* AF_LOCAL */
-       char    sun_path[104];          /* path name (gag) */
+       u_int8_t        sun_len;        /* total sockaddr length */
+       u_int8_t        sun_family;     /* AF_LOCAL */
+       char            sun_path[104];  /* path name (gag) */
 };
 
 /*



Home | Main Index | Thread Index | Old Index