Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/tcpdchk Pull up revision 1.4 (requested by myc...
details: https://anonhg.NetBSD.org/src/rev/4b88ef766530
branches: netbsd-1-4
changeset: 470168:4b88ef766530
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:04:13 2000 +0000
description:
Pull up revision 1.4 (requested by mycroft):
Always do the errno indirection hack, so that non-threaded
libraries get the right errno value when linked with -lpthread.
This means "always include <errno.h> and never declare errno
yourself".
diffstat:
usr.sbin/tcpdchk/percent_m.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 91c606dff55c -r 4b88ef766530 usr.sbin/tcpdchk/percent_m.c
--- a/usr.sbin/tcpdchk/percent_m.c Sun Jan 23 12:04:02 2000 +0000
+++ b/usr.sbin/tcpdchk/percent_m.c Sun Jan 23 12:04:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: percent_m.c,v 1.3 1998/05/09 17:22:09 kleink Exp $ */
+/* $NetBSD: percent_m.c,v 1.3.2.1 2000/01/23 12:04:13 he Exp $ */
/*
* Replace %m by system error message.
@@ -11,7 +11,7 @@
#if 0
static char sccsid[] = "@(#) percent_m.c 1.1 94/12/28 17:42:37";
#else
-__RCSID("$NetBSD: percent_m.c,v 1.3 1998/05/09 17:22:09 kleink Exp $");
+__RCSID("$NetBSD: percent_m.c,v 1.3.2.1 2000/01/23 12:04:13 he Exp $");
#endif
#endif
@@ -19,7 +19,6 @@
#include <errno.h>
#include <string.h>
-extern int errno;
#ifndef SYS_ERRLIST_DEFINED
extern char *sys_errlist[];
extern int sys_nerr;
Home |
Main Index |
Thread Index |
Old Index