Avoid pedantic warnings in POSIX <signal.h>.

The -Wpedantic warnings are only supported in C <signal.h> mode, but the GCC
build and other ports use this kinda-unsupported mode and produce a lot of
these needless warnings, so remove the trailing commas in the enums.
This commit is contained in:
Jonas 'Sortie' Termansen 2024-03-25 23:02:55 +01:00
parent 2955e11211
commit 3152413ff0
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ enum
#define REG_CR2 REG_CR2 #define REG_CR2 REG_CR2
REG_FSBASE, REG_FSBASE,
#define REG_FSBASE REG_FSBASE #define REG_FSBASE REG_FSBASE
REG_GSBASE, REG_GSBASE
#define REG_GSBASE REG_GSBASE #define REG_GSBASE REG_GSBASE
}; };
#endif #endif
@ -126,7 +126,7 @@ enum
#define REG_CR2 REG_CR2 #define REG_CR2 REG_CR2
REG_FSBASE, REG_FSBASE,
#define REG_FSBASE REG_FSBASE #define REG_FSBASE REG_FSBASE
REG_GSBASE, REG_GSBASE
#define REG_GSBASE REG_GSBASE #define REG_GSBASE REG_GSBASE
}; };
#endif #endif