Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/sys Separate macro arguments with <comma><spac...



details:   https://anonhg.NetBSD.org/src/rev/8b29795cd36d
branches:  pgoyette-compat
changeset: 447439:8b29795cd36d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Jan 11 06:18:17 2019 +0000

description:
Separate macro arguments with <comma><space> for readability.

diffstat:

 sys/sys/module_hook.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 314c5269ad36 -r 8b29795cd36d sys/sys/module_hook.h
--- a/sys/sys/module_hook.h     Thu Jan 10 11:15:49 2019 +0000
+++ b/sys/sys/module_hook.h     Fri Jan 11 06:18:17 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: module_hook.h,v 1.1.2.7 2018/10/12 10:28:29 pgoyette Exp $ */
+/* $NetBSD: module_hook.h,v 1.1.2.8 2019/01/11 06:18:17 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
  * unloaded.
  */
 
-#define MODULE_HOOK(hook,args)                                 \
+#define MODULE_HOOK(hook, args)                                        \
 extern struct hook ## _t {                                     \
        kmutex_t                mtx;                            \
        kcondvar_t              cv;                             \
@@ -55,7 +55,7 @@
        int                     (*f)args;                       \
 } hook __cacheline_aligned;
 
-#define MODULE_HOOK2(hook,args1,args2)                         \
+#define MODULE_HOOK2(hook, args1, args2)                       \
 extern struct hook ## _t {                                     \
        kmutex_t                mtx;                            \
        kcondvar_t              cv;                             \



Home | Main Index | Thread Index | Old Index