Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net <sys/errno.h> -> <errno.h>; kill our own declar...



details:   https://anonhg.NetBSD.org/src/rev/e63188777fcf
branches:  trunk
changeset: 474318:e63188777fcf
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Jul 03 13:57:26 1999 +0000

description:
<sys/errno.h> -> <errno.h>; kill our own declaration of errno (_REENTRANT!).

diffstat:

 lib/libc/net/ifname.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 271475e87edb -r e63188777fcf lib/libc/net/ifname.c
--- a/lib/libc/net/ifname.c     Sat Jul 03 13:53:44 1999 +0000
+++ b/lib/libc/net/ifname.c     Sat Jul 03 13:57:26 1999 +0000
@@ -34,15 +34,13 @@
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/sysctl.h>
-#include <sys/errno.h>
 #include <net/if.h>
 #include <net/route.h>
 #include <net/if_dl.h>
+#include <errno.h>
 #include <stdlib.h>
 #include <string.h>
 
-extern int errno;
-
 #define ROUNDUP(a) \
        ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))



Home | Main Index | Thread Index | Old Index