diff options
-rwxr-xr-x | defs2d.awk | 2 | ||||
-rw-r--r-- | signal.d | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -6,7 +6,7 @@ /distinct/ { printf("static int %s[] = {\n", $2); - for (i = 3; i < NF; i++) { + for (i = 3; i <= NF; i++) { #printf("#ifndef %s\n", $i); #printf("#error %s not defined\n", $i); #printf("#endif\n"); @@ -6,4 +6,5 @@ static int signals[] = { SIGILL, SIGINT, SIGSEGV, + SIGTERM, }; |