From 923c6c956efb98940f8bf69b8bff3a1eb7b2bfbf Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Wed, 27 May 2015 07:49:26 -0500 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Brian Silver Reviewed-by: A. Patrick Williams III --- src/include/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/assert.h') 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. -- cgit v1.2.3