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:
parent
2955e11211
commit
3152413ff0
|
@ -72,7 +72,7 @@ enum
|
|||
#define REG_CR2 REG_CR2
|
||||
REG_FSBASE,
|
||||
#define REG_FSBASE REG_FSBASE
|
||||
REG_GSBASE,
|
||||
REG_GSBASE
|
||||
#define REG_GSBASE REG_GSBASE
|
||||
};
|
||||
#endif
|
||||
|
@ -126,7 +126,7 @@ enum
|
|||
#define REG_CR2 REG_CR2
|
||||
REG_FSBASE,
|
||||
#define REG_FSBASE REG_FSBASE
|
||||
REG_GSBASE,
|
||||
REG_GSBASE
|
||||
#define REG_GSBASE REG_GSBASE
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue