summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2015-05-27 07:49:26 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-06-08 13:21:33 -0500
commit923c6c956efb98940f8bf69b8bff3a1eb7b2bfbf (patch)
tree346289b01449439bb09ed4dd47823b871fdf1b42 /src/include/assert.h
parent9d5d91597d325d63465a4f62a98bb5d8ff0f90a4 (diff)
downloadtalos-hostboot-923c6c956efb98940f8bf69b8bff3a1eb7b2bfbf.tar.gz
talos-hostboot-923c6c956efb98940f8bf69b8bff3a1eb7b2bfbf.zip
Non-conforming whitespace in _VA_ARGS_
* https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html "...the token preceding the special '##' must be a comma, and there must be white space between the comma and whatever comes immediately before it..." RTC: 124186 Change-Id: I26cf33f0f28b92bb907681d628e5f62246a3aea2 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17973 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/assert.h')
-rw-r--r--src/include/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 3ef19ba1a..c3f7ea0c4 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -99,7 +99,7 @@ void __assert(AssertBehavior i_assertb, int i_line);
// Macro tricks to determine if there is a custom string.
#define __ASSERT_HAS_TRACE_(_1, _2, ...) _2
-#define __ASSERT_HAS_TRACE(...) __ASSERT_HAS_TRACE_(0, ##__VA_ARGS__, 0)
+#define __ASSERT_HAS_TRACE(...) __ASSERT_HAS_TRACE_(0 , ##__VA_ARGS__, 0)
/**
* @brief Macro to do the custom trace if one is provided.
OpenPOWER on IntegriCloud