0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00

Remove unnecessary C99-isms

In order to make it more likely to compile cleanly with "C90 plus long
long" style compilers, remove existing constructs (mostly commas at
the end of enums) that aren't compliant.

Ironically enough this was most likely an unintentional omission in
C90...

From master branch checkin 7214d18b40

Resolved Conflicts:
	output/outelf32.c

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin
2016-03-01 22:43:51 -08:00
parent 8d9f591005
commit 53f1559c06
9 changed files with 28 additions and 26 deletions

2
nasm.c
View File

@@ -614,7 +614,7 @@ struct textargs {
enum text_options {
OPT_PREFIX,
OPT_POSTFIX,
OPT_POSTFIX
};
struct textargs textopts[] = {
{"prefix", OPT_PREFIX},