Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/tn3270/sys_curses Pull up revision 1.14 (reques...
details: https://anonhg.NetBSD.org/src/rev/569de2731a03
branches: netbsd-1-4
changeset: 470159:569de2731a03
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:02:57 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.bin/tn3270/sys_curses/system.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 45abfb9b309f -r 569de2731a03 usr.bin/tn3270/sys_curses/system.c
--- a/usr.bin/tn3270/sys_curses/system.c Sun Jan 23 12:02:43 2000 +0000
+++ b/usr.bin/tn3270/sys_curses/system.c Sun Jan 23 12:02:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: system.c,v 1.11 1998/11/06 20:05:43 christos Exp $ */
+/* $NetBSD: system.c,v 1.11.2.1 2000/01/23 12:02:57 he Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)system.c 4.5 (Berkeley) 4/26/91";
#else
-__RCSID("$NetBSD: system.c,v 1.11 1998/11/06 20:05:43 christos Exp $");
+__RCSID("$NetBSD: system.c,v 1.11.2.1 2000/01/23 12:02:57 he Exp $");
#endif
#endif /* not lint */
@@ -80,8 +80,6 @@
#include <errno.h>
-extern int errno;
-
#include <netdb.h>
#include <signal.h>
#include <stdio.h>
Home |
Main Index |
Thread Index |
Old Index