Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/include empty to nothing
details: https://anonhg.NetBSD.org/src/rev/73b188b7e96b
branches: trunk
changeset: 351270:73b188b7e96b
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 08 18:00:37 2017 +0000
description:
empty to nothing
diffstat:
lib/libc/include/reentrant.h | 58 ++++++++++++++++++++++----------------------
1 files changed, 29 insertions(+), 29 deletions(-)
diffs (86 lines):
diff -r b63df8888b70 -r 73b188b7e96b lib/libc/include/reentrant.h
--- a/lib/libc/include/reentrant.h Wed Feb 08 17:59:35 2017 +0000
+++ b/lib/libc/include/reentrant.h Wed Feb 08 18:00:37 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: reentrant.h,v 1.19 2017/02/08 16:13:40 christos Exp $ */
+/* $NetBSD: reentrant.h,v 1.20 2017/02/08 18:00:37 christos Exp $ */
/*-
* Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc.
@@ -278,35 +278,35 @@
#else /* _REENTRANT */
-#define mutex_init(m, a) __empty
-#define mutex_lock(m) __empty
-#define mutex_trylock(m) __empty
-#define mutex_unlock(m) __empty
-#define mutex_destroy(m) __empty
+#define mutex_init(m, a) __nothing
+#define mutex_lock(m) __nothing
+#define mutex_trylock(m) __nothing
+#define mutex_unlock(m) __nothing
+#define mutex_destroy(m) __nothing
-#define cond_init(c, t, a) __empty
-#define cond_signal(c) __empty
-#define cond_broadcast(c) __empty
-#define cond_wait(c, m) __empty
-#define cond_timedwait(c, m, t) __empty
-#define cond_destroy(c) __empty
+#define cond_init(c, t, a) __nothing
+#define cond_signal(c) __nothing
+#define cond_broadcast(c) __nothing
+#define cond_wait(c, m) __nothing
+#define cond_timedwait(c, m, t) __nothing
+#define cond_destroy(c) __nothing
-#define rwlock_init(l, a) __empty
-#define rwlock_rdlock(l) __empty
-#define rwlock_wrlock(l) __empty
-#define rwlock_tryrdlock(l) __empty
-#define rwlock_trywrlock(l) __empty
-#define rwlock_unlock(l) __empty
-#define rwlock_destroy(l) __empty
+#define rwlock_init(l, a) __nothing
+#define rwlock_rdlock(l) __nothing
+#define rwlock_wrlock(l) __nothing
+#define rwlock_tryrdlock(l) __nothing
+#define rwlock_trywrlock(l) __nothing
+#define rwlock_unlock(l) __nothing
+#define rwlock_destroy(l) __nothing
#define thr_keycreate(k, d) /*LINTED*/0
-#define thr_setspecific(k, p) __empty
+#define thr_setspecific(k, p) __nothing
#define thr_getspecific(k) /*LINTED*/0
-#define thr_keydelete(k) __empty
+#define thr_keydelete(k) __nothing
-#define mutexattr_init(ma) __empty
-#define mutexattr_settype(ma, t) __empty
-#define mutexattr_destroy(ma) __empty
+#define mutexattr_init(ma) __nothing
+#define mutexattr_settype(ma, t) __nothing
+#define mutexattr_destroy(ma) __nothing
static inline int
thr_once(once_t *once_control, void (*routine)(void))
@@ -317,12 +317,12 @@
}
return 0;
}
-#define thr_sigsetmask(f, n, o) __empty
-#define thr_self() __empty
-#define thr_errno() __empty
+#define thr_sigsetmask(f, n, o) __nothing
+#define thr_self() __nothing
+#define thr_errno() __nothing
#define thr_curcpu() ((unsigned int)0)
-#define FLOCKFILE(fp) __empty
-#define FUNLOCKFILE(fp) __empty
+#define FLOCKFILE(fp) __nothing
+#define FUNLOCKFILE(fp) __nothing
#endif /* _REENTRANT */
Home |
Main Index |
Thread Index |
Old Index