mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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>
This commit is contained in:
parent
bd2803964e
commit
c2f3f26015
@ -38,7 +38,7 @@
|
||||
#include "compiler.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <limits.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include "compiler.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "insns.h"
|
||||
|
@ -179,7 +179,7 @@ if ($what eq 'c') {
|
||||
die if ($n & ($n-1));
|
||||
|
||||
print OUT "#include \"compiler.h\"\n";
|
||||
print OUT "#include <ctype.h>\n";
|
||||
print OUT "#include \"nctype.h\"\n";
|
||||
print OUT "#include \"nasmlib.h\"\n";
|
||||
print OUT "#include \"hashtbl.h\"\n";
|
||||
print OUT "#include \"preproc.h\"\n";
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "compiler.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <limits.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <limits.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <errno.h>
|
||||
|
||||
#include "insns.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include "compiler.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasmlib.h"
|
||||
#include "error.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -77,7 +77,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <time.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <errno.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -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"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "nasm.h"
|
||||
#include "nasmlib.h"
|
||||
|
@ -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"
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include "nasm.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
#ifndef STABS_H_
|
||||
#define STABS_H_
|
||||
|
||||
#include <ctype.h>
|
||||
#include "nctype.h"
|
||||
|
||||
#include "compiler.h"
|
||||
#include "nasmlib.h"
|
||||
|
Loading…
Reference in New Issue
Block a user