From 5015c1eb9a07b2f8351249eac62ab1fe55f03395 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 11 Jun 2007 17:46:50 +0200 Subject: inotail.c/.h: Implement is_digit to save some bytes of ctype.h inclusion --- inotail.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index bb27702..075bb5d 100644 --- a/inotail.c +++ b/inotail.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include @@ -451,7 +450,7 @@ int main(int argc, char **argv) } else if (*optarg == '-') optarg++; - if (!isdigit(*optarg)) { + if (!is_digit(*optarg)) { fprintf(stderr, "Invalid number of lines: %s\n", optarg); exit(EXIT_FAILURE); } -- cgit v1.2.3-54-g00ecf