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/sup/source Pull up revision 1.7 (requested by ...



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

description:
Pull up revision 1.7 (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/sup/source/scmio.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r b9eafa040b1e -r 0c2153592744 usr.sbin/sup/source/scmio.c
--- a/usr.sbin/sup/source/scmio.c       Sun Jan 23 12:03:37 2000 +0000
+++ b/usr.sbin/sup/source/scmio.c       Sun Jan 23 12:03:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scmio.c,v 1.5.4.1 1999/04/12 21:27:10 pk Exp $ */
+/*     $NetBSD: scmio.c,v 1.5.4.2 2000/01/23 12:03:45 he Exp $ */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -165,8 +165,6 @@
 #include "supextern.h"
 #include "supmsg.h"
 
-extern int errno;
-
 /*************************
  ***    M A C R O S    ***
  *************************/



Home | Main Index | Thread Index | Old Index