Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern This was an n_long, not u_long, so u_int32_t...



details:   https://anonhg.NetBSD.org/src/rev/07aaa9e1770f
branches:  trunk
changeset: 471826:07aaa9e1770f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Apr 12 17:23:23 1999 +0000

description:
This was an n_long, not u_long, so u_int32_t is correct.

diffstat:

 sys/lib/libkern/inet_addr.c |  4 ++--
 sys/lib/libkern/libkern.h   |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 9ecde66f9b8e -r 07aaa9e1770f sys/lib/libkern/inet_addr.c
--- a/sys/lib/libkern/inet_addr.c       Mon Apr 12 16:11:53 1999 +0000
+++ b/sys/lib/libkern/inet_addr.c       Mon Apr 12 17:23:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet_addr.c,v 1.2 1999/04/12 01:05:01 ross Exp $       */
+/*     $NetBSD: inet_addr.c,v 1.3 1999/04/12 17:23:23 drochner Exp $   */
 
 /* Copyright (c) 1996 by Internet Software Consortium.
  *
@@ -44,7 +44,7 @@
  * Ascii internet address interpretation routine.
  * The value returned is in network order.
  */
-u_long
+u_int32_t
 inet_addr(src)
        const char *src;
 {
diff -r 9ecde66f9b8e -r 07aaa9e1770f sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Mon Apr 12 16:11:53 1999 +0000
+++ b/sys/lib/libkern/libkern.h Mon Apr 12 17:23:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libkern.h,v 1.24 1999/04/12 01:05:01 ross Exp $        */
+/*     $NetBSD: libkern.h,v 1.25 1999/04/12 17:23:23 drochner Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -171,4 +171,4 @@
 char   *strncpy __P((char *, const char *, size_t));
 char   *strrchr __P((const char *, int));
 int     strncasecmp __P((const char *, const char *, size_t));
-u_long  inet_addr __P((const char *));
+u_int32_t inet_addr __P((const char *));



Home | Main Index | Thread Index | Old Index