Source-Changes-HG archive

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

[src/trunk]: src/tools/compat Make Alan Barrett happy and add ().



details:   https://anonhg.NetBSD.org/src/rev/8c121bc5b4d7
branches:  trunk
changeset: 779582:8c121bc5b4d7
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 04 10:18:01 2012 +0000

description:
Make Alan Barrett happy and add ().

diffstat:

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

diffs (21 lines):

diff -r b954cc042f4a -r 8c121bc5b4d7 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Mon Jun 04 00:28:34 2012 +0000
+++ b/tools/compat/compat_defs.h        Mon Jun 04 10:18:01 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.85 2012/06/03 21:01:43 joerg Exp $   */
+/*     $NetBSD: compat_defs.h,v 1.86 2012/06/04 10:18:01 joerg Exp $   */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -73,9 +73,9 @@
 #define __UNCONST(a)   ((void *)(unsigned long)(const void *)(a))
 
 #undef __predict_false
-#define __predict_false(x) x
+#define __predict_false(x) (x)
 #undef __predict_true
-#define __predict_true(x) x
+#define __predict_true(x) (x)
 
 /* We don't include <pwd.h> here, so that "compat_pwd.h" works. */
 struct passwd;



Home | Main Index | Thread Index | Old Index