summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Massey <bart@cs.pdx.edu>2013-09-12 01:33:25 -0700
committerBart Massey <bart@cs.pdx.edu>2013-09-12 01:33:25 -0700
commit52ed34418492c1538b8022a830a79fbc50ba3605 (patch)
tree055b841a6a2f111093c8d8116cd25847e729c44a
parent689ea0ec5d8b7594ba2fa9e27b2458cea8a58724 (diff)
Revert "Interleaved C code and declarations is no longer a portability issue."
This reverts commit 689ea0ec5d8b7594ba2fa9e27b2458cea8a58724. Community consensus is that, while this style is no longer a portability issue, it's a style issue.
-rw-r--r--xorg-macros.m4.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index 9bec7b4..18c33e9 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -1622,6 +1622,7 @@ AC_LANG_CASE(
XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
+ XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
]
)