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/timed/timedc Pull up revision 1.6 (requested b...
details: https://anonhg.NetBSD.org/src/rev/c635c86db7ff
branches: netbsd-1-4
changeset: 470170:c635c86db7ff
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:04:27 2000 +0000
description:
Pull up revision 1.6 (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/timed/timedc/timedc.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 9cdfa8431a89 -r c635c86db7ff usr.sbin/timed/timedc/timedc.h
--- a/usr.sbin/timed/timedc/timedc.h Sun Jan 23 12:04:21 2000 +0000
+++ b/usr.sbin/timed/timedc/timedc.h Sun Jan 23 12:04:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timedc.h,v 1.5 1997/10/17 14:20:22 lukem Exp $ */
+/* $NetBSD: timedc.h,v 1.5.4.1 2000/01/23 12:04:27 he Exp $ */
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
@@ -48,8 +48,6 @@
#include <netdb.h>
#include <stdio.h>
-extern int errno;
-
#define ON 1
#define OFF 0
Home |
Main Index |
Thread Index |
Old Index