Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net Delint after getaddrinfo(), etc. changes.



details:   https://anonhg.NetBSD.org/src/rev/08e1822913c9
branches:  trunk
changeset: 526967:08e1822913c9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue May 14 23:58:08 2002 +0000

description:
Delint after getaddrinfo(), etc. changes.

diffstat:

 lib/libc/net/rcmd.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r efb2945957bf -r 08e1822913c9 lib/libc/net/rcmd.c
--- a/lib/libc/net/rcmd.c       Tue May 14 23:35:35 2002 +0000
+++ b/lib/libc/net/rcmd.c       Tue May 14 23:58:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rcmd.c,v 1.46 2002/04/16 19:16:22 groo Exp $   */
+/*     $NetBSD: rcmd.c,v 1.47 2002/05/14 23:58:08 thorpej Exp $        */
 
 /*
  * Copyright (c) 1997 Matthew R. Green.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)rcmd.c     8.3 (Berkeley) 3/26/94";
 #else
-__RCSID("$NetBSD: rcmd.c,v 1.46 2002/04/16 19:16:22 groo Exp $");
+__RCSID("$NetBSD: rcmd.c,v 1.47 2002/05/14 23:58:08 thorpej Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -268,9 +268,9 @@
                        int oerrno = errno;
                        char hbuf[NI_MAXHOST];
 #ifdef NI_WITHSCOPEID
-                       const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
+                       const u_int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
 #else
-                       const int niflags = NI_NUMERICHOST;
+                       const u_int niflags = NI_NUMERICHOST;
 #endif
 
                        hbuf[0] = '\0';
@@ -933,9 +933,9 @@
        char h1[NI_MAXHOST], h2[NI_MAXHOST];
        int error;
 #ifdef NI_WITHSCOPEID
-       const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
+       const u_int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
 #else
-       const int niflags = NI_NUMERICHOST;
+       const u_int niflags = NI_NUMERICHOST;
 #endif
 
        _DIAGASSERT(raddr != NULL);
@@ -992,9 +992,9 @@
        struct addrinfo hints, *res, *r;
        int error;
 #ifdef NI_WITHSCOPEID
-       const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
+       const u_int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
 #else
-       const int niflags = NI_NUMERICHOST;
+       const u_int niflags = NI_NUMERICHOST;
 #endif
 
        _DIAGASSERT(raddr != NULL);



Home | Main Index | Thread Index | Old Index