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 is defined in <sys/cdefs.h>



details:   https://anonhg.NetBSD.org/src/rev/b898cc2ad0fa
branches:  trunk
changeset: 821510:b898cc2ad0fa
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Feb 08 16:13:40 2017 +0000

description:
__empty is defined in <sys/cdefs.h>

diffstat:

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

diffs (19 lines):

diff -r 2ad68806604e -r b898cc2ad0fa lib/libc/include/reentrant.h
--- a/lib/libc/include/reentrant.h      Wed Feb 08 16:13:04 2017 +0000
+++ b/lib/libc/include/reentrant.h      Wed Feb 08 16:13:40 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reentrant.h,v 1.18 2015/01/20 18:31:25 christos Exp $  */
+/*     $NetBSD: reentrant.h,v 1.19 2017/02/08 16:13:40 christos Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc.
@@ -278,9 +278,6 @@
 
 #else /* _REENTRANT */
 
-#ifndef __empty
-#define __empty do {} while (/*CONSTCOND*/0)
-#endif
 #define        mutex_init(m, a) __empty
 #define        mutex_lock(m) __empty
 #define        mutex_trylock(m) __empty



Home | Main Index | Thread Index | Old Index