diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-12-27 12:37:25 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-12-27 12:37:25 -0800 |
commit | c2f3f2601593823c1844a5b35b98ccb445ddde66 (patch) | |
tree | a99e8f9fe53e3f2770d856a6bec6e380011c2809 /output | |
parent | bd2803964e776b7e3cfa8292ed513aba32b1724c (diff) | |
download | nasm-c2f3f2601593823c1844a5b35b98ccb445ddde66.tar.gz |
Replace <ctype.h> includes with "nctype.h"
For almost everything we should use "nctype.h". Right now we don't
have a nasm_toupper() to use <ctype.h> for things that need toupper().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output')
-rw-r--r-- | output/outaout.c | 2 | ||||
-rw-r--r-- | output/outas86.c | 2 | ||||
-rw-r--r-- | output/outbin.c | 2 | ||||
-rw-r--r-- | output/outcoff.c | 2 | ||||
-rw-r--r-- | output/outdbg.c | 2 | ||||
-rw-r--r-- | output/outieee.c | 3 | ||||
-rw-r--r-- | output/outmacho.c | 2 | ||||
-rw-r--r-- | output/outobj.c | 3 | ||||
-rw-r--r-- | output/outrdf2.c | 2 | ||||
-rw-r--r-- | output/stabs.h | 2 |
10 files changed, 12 insertions, 10 deletions
diff --git a/output/outaout.c b/output/outaout.c index 0a011794..a0fdc674 100644 --- a/output/outaout.c +++ b/output/outaout.c @@ -40,7 +40,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include "nasm.h" #include "nasmlib.h" diff --git a/output/outas86.c b/output/outas86.c index 075ed05e..00c57584 100644 --- a/output/outas86.c +++ b/output/outas86.c @@ -40,7 +40,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include "nasm.h" #include "nasmlib.h" diff --git a/output/outbin.c b/output/outbin.c index 3eaded0a..be395d7a 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -77,7 +77,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include "nasm.h" #include "nasmlib.h" diff --git a/output/outcoff.c b/output/outcoff.c index a2c427a3..4fc3f775 100644 --- a/output/outcoff.c +++ b/output/outcoff.c @@ -40,7 +40,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include <time.h> #include "nasm.h" diff --git a/output/outdbg.c b/output/outdbg.c index 601f8719..1b77d487 100644 --- a/output/outdbg.c +++ b/output/outdbg.c @@ -40,7 +40,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include <errno.h> #include "nasm.h" diff --git a/output/outieee.c b/output/outieee.c index 57c52450..b5ea2a41 100644 --- a/output/outieee.c +++ b/output/outieee.c @@ -71,7 +71,8 @@ #include <stdlib.h> #include <time.h> #include <stdarg.h> /* Note: we need the ANSI version of stdarg.h */ -#include <ctype.h> +#include <ctype.h> /* For toupper() */ +#include "nctype.h" #include "nasm.h" #include "nasmlib.h" diff --git a/output/outmacho.c b/output/outmacho.c index 841dbf0a..342c6c18 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -40,7 +40,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include "nasm.h" #include "nasmlib.h" diff --git a/output/outobj.c b/output/outobj.c index dee4f97e..1bf7e8d7 100644 --- a/output/outobj.c +++ b/output/outobj.c @@ -40,7 +40,8 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include <ctype.h> /* For toupper() */ +#include "nctype.h" #include <limits.h> #include "nasm.h" diff --git a/output/outrdf2.c b/output/outrdf2.c index 008e7f14..e92906cd 100644 --- a/output/outrdf2.c +++ b/output/outrdf2.c @@ -41,7 +41,7 @@ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "nctype.h" #include <assert.h> #include "nasm.h" diff --git a/output/stabs.h b/output/stabs.h index d40a5724..dbc49868 100644 --- a/output/stabs.h +++ b/output/stabs.h @@ -34,7 +34,7 @@ #ifndef STABS_H_ #define STABS_H_ -#include <ctype.h> +#include "nctype.h" #include "compiler.h" #include "nasmlib.h" |