Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/libhack refer to our own h_errno so we don't f...
details: https://anonhg.NetBSD.org/src/rev/4f97e68f995f
branches: trunk
changeset: 325384:4f97e68f995f
user: christos <christos%NetBSD.org@localhost>
date: Sat Dec 21 20:10:02 2013 +0000
description:
refer to our own h_errno so we don't fetch the libc one
diffstat:
distrib/utils/libhack/gethost.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c4cc8332f8d2 -r 4f97e68f995f distrib/utils/libhack/gethost.c
--- a/distrib/utils/libhack/gethost.c Sat Dec 21 17:44:33 2013 +0000
+++ b/distrib/utils/libhack/gethost.c Sat Dec 21 20:10:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gethost.c,v 1.11 2013/08/27 09:53:33 christos Exp $ */
+/* $NetBSD: gethost.c,v 1.12 2013/12/21 20:10:02 christos Exp $ */
/*-
* Copyright (c) 1985, 1988, 1993
@@ -73,7 +73,7 @@
__weak_alias(gethostbyname,_gethostbyname);
#endif
-extern int h_errno;
+int h_errno;
FILE *_h_file;
static struct hostent h_ent;
static char h_buf[4096];
Home |
Main Index |
Thread Index |
Old Index