summaryrefslogtreecommitdiff
path: root/src/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.c')
-rw-r--r--src/expand.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/expand.c b/src/expand.c
index a4fb1af5b..17d215b43 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -35,21 +35,12 @@
/* Get isblank from GNU libc. */
#define _GNU_SOURCE
-#include <ctype.h>
-#ifndef isblank
-#define isblank(c) ((c) == ' ' || (c) == '\t')
-#endif
+
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#ifdef isascii
-#define ISDIGIT(c) (isascii ((c)) && isdigit ((c)))
-#else
-#define ISDIGIT(c) (isdigit ((c)))
-#endif
-
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
#define OUTPUT_BLOCK 256
@@ -187,7 +178,7 @@ parse_tabstops (stops)
for (; *stops; stops++)
{
- if (*stops == ',' || isblank (*stops))
+ if (*stops == ',' || ISBLANK (*stops))
{
add_tabstop (tabval);
tabval = -1;