This will just to use the automatic numbering of enums which slightly simplify patches adding new entries. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- lib.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib.c b/lib.c index b94ed847b..5aa958ee1 100644 --- a/lib.c +++ b/lib.c @@ -276,9 +276,11 @@ static enum { STANDARD_C89, STANDARD_GNU89, STANDARD_GNU99, } standard = STANDARD_GNU89; -#define ARCH_LP32 0 -#define ARCH_LP64 1 -#define ARCH_LLP64 2 +enum { + ARCH_LP32, + ARCH_LP64, + ARCH_LLP64, +}; #ifdef __LP64__ #define ARCH_M64_DEFAULT ARCH_LP64 -- 2.17.0 -- 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