summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drm/.clang-format1
-rw-r--r--src/drm/drm_util.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/drm/.clang-format b/src/drm/.clang-format
index 068b217..885f701 100644
--- a/src/drm/.clang-format
+++ b/src/drm/.clang-format
@@ -19,7 +19,6 @@ BreakBeforeBraces: Custom
ColumnLimit: 90
ContinuationIndentWidth: 3
Cpp11BracedListStyle: false
-Cpp11BracedListStyle: true
BreakStringLiterals: false
ForEachMacros:
- BITSET_FOREACH_SET
diff --git a/src/drm/drm_util.h b/src/drm/drm_util.h
index 540a07a..00f87d6 100644
--- a/src/drm/drm_util.h
+++ b/src/drm/drm_util.h
@@ -21,11 +21,11 @@
#include "linux/overflow.h"
-#pragma GCC diagnostic pop
-
void _drm_log(const char *fmt, ...);
#define drm_log(fmt, ...) _drm_log("%s:%d: " fmt, __func__, __LINE__, ##__VA_ARGS__)
+#pragma GCC diagnostic pop
+
#if 0
#define drm_dbg drm_log
#else