diff options
author | Jimmy Huang <jimmy.huang@linux.intel.com> | 2018-02-01 15:11:31 -0800 |
---|---|---|
committer | Geoff Gustafson <geoff@linux.intel.com> | 2018-02-01 15:11:31 -0800 |
commit | 6e84215b43382f142b1a257305f7b028acd423fa (patch) | |
tree | b05956991ebfdfcfaae4393445384267aa2df4a4 /src/zjs_common.h | |
parent | 4324cf215b8b10c6371aee88412dd317fe193b8a (diff) |
[general] Style cleanup with clang (#1794)
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r-- | src/zjs_common.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h index 2427840..390ba31 100644 --- a/src/zjs_common.h +++ b/src/zjs_common.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2017, Intel Corporation. +// Copyright (c) 2016-2018, Intel Corporation. #ifndef __zjs_common_h__ #define __zjs_common_h__ @@ -56,13 +56,13 @@ int zjs_get_ms(void); #elif defined(ZJS_VERBOSE) && ZJS_VERBOSE >= 2 // Verbosity level 2 just shows function/line #define DBG_PRINT \ - ZJS_PRINT("\n%s:%d %s():\n(INFO) ", zjs_shorten_filepath(__FILE__), \ - __LINE__, __func__); \ + ZJS_PRINT("\n%s:%d %s():\n(INFO) ", zjs_shorten_filepath(__FILE__), \ + __LINE__, __func__); \ ZJS_PRINT -#define ERR_PRINT \ - ZJS_PRINT("\n%s:%d %s():\n(ERROR) ", zjs_shorten_filepath(__FILE__), \ - __LINE__, __func__); \ +#define ERR_PRINT \ + ZJS_PRINT("\n%s:%d %s():\n(ERROR) ", zjs_shorten_filepath(__FILE__), \ + __LINE__, __func__); \ ZJS_PRINT #else // Verbosity level 1 just shows text @@ -72,8 +72,8 @@ int zjs_get_ms(void); #else // !DEBUG_BUILD #define DBG_PRINT(fmt...) do {} while (0) -#define ERR_PRINT \ - ZJS_PRINT("\n%d:(ERROR) ", __LINE__); \ +#define ERR_PRINT \ + ZJS_PRINT("\n%d:(ERROR) ", __LINE__); \ ZJS_PRINT #endif // DEBUG_BUILD |