diff options
author | Nick Clifton <nickc@redhat.com> | 2001-10-11 07:17:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-10-11 07:17:47 +0000 |
commit | 685bd8696659b13e21af82e8d720f650ca0db2b3 (patch) | |
tree | e06259dd327338ca5b9fd7eeff744637d30f1d89 /gas/input-file.c | |
parent | * win32-nat.c (get_child_debug_event): Close file handles created after process (diff) | |
download | binutils-gdb-685bd8696659b13e21af82e8d720f650ca0db2b3.tar.gz binutils-gdb-685bd8696659b13e21af82e8d720f650ca0db2b3.tar.bz2 binutils-gdb-685bd8696659b13e21af82e8d720f650ca0db2b3.zip |
Use ISSPACE instead of isspace
Diffstat (limited to 'gas/input-file.c')
-rw-r--r-- | gas/input-file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/input-file.c b/gas/input-file.c index fcd710ffb73..798f327d0f5 100644 --- a/gas/input-file.c +++ b/gas/input-file.c @@ -26,9 +26,9 @@ #include <stdio.h> #include <string.h> - #include "as.h" #include "input-file.h" +#include "safe-ctype.h" static int input_file_get PARAMS ((char *, int)); @@ -159,7 +159,7 @@ input_file_open (filename, pre) if (c == 'N') { fgets (buf, 80, f_in); - if (!strncmp (buf, "O_APP", 5) && isspace (buf[5])) + if (!strncmp (buf, "O_APP", 5) && ISSPACE (buf[5])) preprocess = 0; if (!strchr (buf, '\n')) ungetc ('#', f_in); /* It was longer. */ @@ -169,7 +169,7 @@ input_file_open (filename, pre) else if (c == 'A') { fgets (buf, 80, f_in); - if (!strncmp (buf, "PP", 2) && isspace (buf[2])) + if (!strncmp (buf, "PP", 2) && ISSPACE (buf[2])) preprocess = 1; if (!strchr (buf, '\n')) ungetc ('#', f_in); |