Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Macro parentheses police!



details:   https://anonhg.NetBSD.org/src/rev/411c01ffa0e5
branches:  trunk
changeset: 344651:411c01ffa0e5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 09 19:55:33 2016 +0000

description:
Macro parentheses police!

One *hopes* this has no functional change.

diffstat:

 sys/sys/aio.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7b52c32cda07 -r 411c01ffa0e5 sys/sys/aio.h
--- a/sys/sys/aio.h     Sat Apr 09 18:51:44 2016 +0000
+++ b/sys/sys/aio.h     Sat Apr 09 19:55:33 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aio.h,v 1.12 2012/01/07 19:48:19 christos Exp $        */
+/*     $NetBSD: aio.h,v 1.13 2016/04/09 19:55:33 riastradh Exp $       */
 
 /*
  * Copyright (c) 2007, Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -70,7 +70,7 @@
 
 /* Default limits of allowed AIO operations */
 #define AIO_LISTIO_MAX         512
-#define AIO_MAX                        AIO_LISTIO_MAX * 16
+#define AIO_MAX                        (AIO_LISTIO_MAX * 16)
 
 #include <sys/condvar.h>
 #include <sys/lwp.h>



Home | Main Index | Thread Index | Old Index