summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-12-07 04:54:04 +0000
committerJim Meyering <jim@meyering.net>1992-12-07 04:54:04 +0000
commitd179df1b06718b950b54963c0c11b619e28ba016 (patch)
treedc0cab0f46a3bf082ae42a20d8eeeea84bb7aece /src/csplit.c
parent57e56eb7ecaf708b248af8faebd972a0ce6f03c1 (diff)
downloadcoreutils-d179df1b06718b950b54963c0c11b619e28ba016.tar.xz
Remove inclusion of <ctype.h> and definitions of is* ctype macros to system.h.
Change a few more uses of is* ctype macros to (protected) upper case versions.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/csplit.c b/src/csplit.c
index ec8d2ed51..7b2165e5f 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -20,7 +20,6 @@
#include <stdio.h>
#include <getopt.h>
-#include <ctype.h>
#include <sys/types.h>
#include <signal.h>
#include "regex.h"
@@ -1051,7 +1050,7 @@ string_to_number (result, num)
while ((ch = *num++))
{
- if (!isdigit (ch))
+ if (!ISDIGIT (ch))
return FALSE;
val = val * 10 + ch - '0';
}