Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libntp Pull up revision 1.5 (requested by mycroft):



details:   https://anonhg.NetBSD.org/src/rev/9524cdd35120
branches:  netbsd-1-4
changeset: 470149:9524cdd35120
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:01:19 2000 +0000

description:
Pull up revision 1.5 (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:

 lib/libntp/syssignal.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r d9e80d8dd428 -r 9524cdd35120 lib/libntp/syssignal.c
--- a/lib/libntp/syssignal.c    Sun Jan 23 12:01:04 2000 +0000
+++ b/lib/libntp/syssignal.c    Sun Jan 23 12:01:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syssignal.c,v 1.2 1998/01/09 03:16:32 perry Exp $      */
+/*     $NetBSD: syssignal.c,v 1.2.2.1 2000/01/23 12:01:19 he Exp $     */
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -10,8 +10,6 @@
 #ifdef HAVE_SIGACTION
 #include <errno.h>
 
-extern int errno;
-
 void
 signal_no_reset(sig, func)
      int sig;



Home | Main Index | Thread Index | Old Index