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/mtrace Pull up revision 1.14 (requested by myc...



details:   https://anonhg.NetBSD.org/src/rev/172ac7d6faa8
branches:  netbsd-1-4
changeset: 470162:172ac7d6faa8
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:03:21 2000 +0000

description:
Pull up revision 1.14 (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/mtrace/mtrace.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 3cb3a119a89e -r 172ac7d6faa8 usr.sbin/mtrace/mtrace.c
--- a/usr.sbin/mtrace/mtrace.c  Sun Jan 23 12:03:13 2000 +0000
+++ b/usr.sbin/mtrace/mtrace.c  Sun Jan 23 12:03:21 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mtrace.c,v 1.12 1999/01/14 21:54:11 he Exp $   */
+/*     $NetBSD: mtrace.c,v 1.12.2.1 2000/01/23 12:03:21 he Exp $       */
 
 /*
  * mtrace.c
@@ -52,7 +52,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mtrace.c,v 1.12 1999/01/14 21:54:11 he Exp $");
+__RCSID("$NetBSD: mtrace.c,v 1.12.2.1 2000/01/23 12:03:21 he Exp $");
 #endif
 
 #include <sys/types.h>
@@ -137,7 +137,6 @@
 
 vifi_t  numvifs;               /* to keep loader happy */
                                /* (see kern.c) */
-extern int errno;
 
 u_long                 byteswap __P((u_long));
 char *                 inet_name __P((u_int32_t addr));



Home | Main Index | Thread Index | Old Index