Module Name: src Committed By: christos Date: Sat Dec 21 20:10:02 UTC 2013
Modified Files: src/distrib/utils/libhack: gethost.c Log Message: refer to our own h_errno so we don't fetch the libc one To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/distrib/utils/libhack/gethost.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/utils/libhack/gethost.c diff -u src/distrib/utils/libhack/gethost.c:1.11 src/distrib/utils/libhack/gethost.c:1.12 --- src/distrib/utils/libhack/gethost.c:1.11 Tue Aug 27 05:53:33 2013 +++ src/distrib/utils/libhack/gethost.c Sat Dec 21 15:10:02 2013 @@ -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(gethostbyaddr,_gethostbyadd __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];