Source-Changes-HG archive

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

[src/trunk]: src/tools/compat Define __USE for use during a tools build.



details:   https://anonhg.NetBSD.org/src/rev/078a3d41224d
branches:  trunk
changeset: 790835:078a3d41224d
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Oct 24 13:59:47 2013 +0000

description:
Define __USE for use during a tools build.

diffstat:

 tools/compat/compat_defs.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4c64437eb87d -r 078a3d41224d tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Thu Oct 24 13:16:33 2013 +0000
+++ b/tools/compat/compat_defs.h        Thu Oct 24 13:59:47 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.92 2013/08/18 20:48:17 joerg Exp $   */
+/*     $NetBSD: compat_defs.h,v 1.93 2013/10/24 13:59:47 apb Exp $     */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -133,6 +133,8 @@
 #define __unused
 #undef __arraycount
 #define        __arraycount(__x)       (sizeof(__x) / sizeof(__x[0]))
+#undef __USE
+#define __USE(a) ((void)(a))
 
 /* Dirent support. */
 



Home | Main Index | Thread Index | Old Index