Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libc/include Define thr_errno() to be pthread__errn...



details:   https://anonhg.NetBSD.org/src/rev/86a256afc01c
branches:  nathanw_sa
changeset: 505502:86a256afc01c
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Sun Dec 30 02:27:59 2001 +0000

description:
Define thr_errno() to be pthread__errno() when _REENTRANT is defined.
(This entire layer of #defines is silly.)

diffstat:

 lib/libc/include/reentrant.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8e51aab1ccab -r 86a256afc01c lib/libc/include/reentrant.h
--- a/lib/libc/include/reentrant.h      Sun Dec 30 02:25:39 2001 +0000
+++ b/lib/libc/include/reentrant.h      Sun Dec 30 02:27:59 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reentrant.h,v 1.6.4.1 2001/08/08 16:18:24 nathanw Exp $        */
+/*     $NetBSD: reentrant.h,v 1.6.4.2 2001/12/30 02:27:59 nathanw Exp $        */
 
 /*-
  * Copyright (c) 1997,98 The NetBSD Foundation, Inc.
@@ -137,6 +137,9 @@
 #define once_t                 pthread_once_t
 #define ONCE_INITIALIZER       PTHREAD_ONCE_INIT
 #define thr_once(o,f)          pthread_once(o,f)
+
+#define thr_errno()            pthread__errno()
+
 #else
 
 #define mutex_init(m, a)       



Home | Main Index | Thread Index | Old Index