From d179df1b06718b950b54963c0c11b619e28ba016 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Dec 1992 04:54:04 +0000 Subject: Remove inclusion of and definitions of is* ctype macros to system.h. Change a few more uses of is* ctype macros to (protected) upper case versions. --- src/uniq.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/uniq.c') diff --git a/src/uniq.c b/src/uniq.c index 1b8e8e4d3..944727f81 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -19,10 +19,7 @@ /* Get isblank from GNU libc. */ #define _GNU_SOURCE -#include -#ifndef isblank -#define isblank(c) ((c) == ' ' || (c) == '\t') -#endif + #include #include #include @@ -249,9 +246,9 @@ find_field (line) for (count = 0; count < skip_fields && i < size; count++) { - while (i < size && isblank (lp[i])) + while (i < size && ISBLANK (lp[i])) i++; - while (i < size && !isblank (lp[i])) + while (i < size && !ISBLANK (lp[i])) i++; } -- cgit v1.2.3-54-g00ecf