[PATCH 1/4] keep the debug flags alphabetically sorted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As often the case, the declaration of the debug flags were
done in the order they were added.

But after a while this become messy so keep them now alpha-sorted.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 lib.c | 8 ++++----
 lib.h | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib.c b/lib.c
index d549c554e..3ee7dc6b0 100644
--- a/lib.c
+++ b/lib.c
@@ -282,9 +282,9 @@ int Wvla = 1;
 
 int dump_macro_defs = 0;
 
-int dbg_entry = 0;
-int dbg_dead = 0;
 int dbg_compound = 0;
+int dbg_dead = 0;
+int dbg_entry = 0;
 
 unsigned long fdump_ir;
 int fmem_report = 0;
@@ -758,9 +758,9 @@ static char **handle_switch_W(char *arg, char **next)
 }
 
 static struct flag debugs[] = {
-	{ "entry", &dbg_entry},
-	{ "dead", &dbg_dead},
 	{ "compound", &dbg_compound},
+	{ "dead", &dbg_dead},
+	{ "entry", &dbg_entry},
 };
 
 
diff --git a/lib.h b/lib.h
index c9a55b60d..e0b52a30d 100644
--- a/lib.h
+++ b/lib.h
@@ -172,9 +172,9 @@ extern int Wvla;
 
 extern int dump_macro_defs;
 
-extern int dbg_entry;
-extern int dbg_dead;
 extern int dbg_compound;
+extern int dbg_dead;
+extern int dbg_entry;
 
 extern unsigned int fmax_warnings;
 extern int fmem_report;
-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux