summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-30 08:35:15 +0200
committerJim Meyering <meyering@redhat.com>2009-04-30 08:39:47 +0200
commit32a6710eaa68ad464a03dbc09db3883c8984439c (patch)
treed1008591769415ea1e8444c932a32069df86b219
parent60ec1c604a723647fce65b1bce789320e09102bd (diff)
downloadidutils-32a6710eaa68ad464a03dbc09db3883c8984439c.tar.gz
idutils-32a6710eaa68ad464a03dbc09db3883c8984439c.tar.bz2
idutils-32a6710eaa68ad464a03dbc09db3883c8984439c.zip
build: remove unused macros
* libidu/scanners.c (ISSPACE, WS): Remove unused macros.
-rw-r--r--libidu/scanners.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libidu/scanners.c b/libidu/scanners.c
index 788b819..42d1705 100644
--- a/libidu/scanners.c
+++ b/libidu/scanners.c
@@ -1,5 +1,5 @@
/* scanners.c -- file & directory name manipulations
- Copyright (C) 1986, 1995, 1996, 1999, 2000, 2007-2008
+ Copyright (C) 1986, 1995, 1996, 1999, 2000, 2007-2009
Free Software Foundation, Inc.
Written by Greg McGary <gkm@gnu.ai.mit.edu>
@@ -370,7 +370,6 @@ clear_uchar_ctype (unsigned char *ctype, char const *chars, int type)
#define EF 0x0200 /* EOF */
#define SK 0x0400 /* Make these chars valid for names within strings */
#define VH 0x0800 /* VHIL comment introduction char: # */
-#define WS 0x1000 /* White space characters */
/* character class membership macros: */
@@ -380,7 +379,6 @@ clear_uchar_ctype (unsigned char *ctype, char const *chars, int type)
#define ISID1ST(c) ((rct)[c] & (I1)) /* 1st char of an identifier */
#define ISIDREST(c) ((rct)[c] & (I1|DG)) /* rest of an identifier */
#define ISSTRKEEP(c) ((rct)[c] & (I1|DG|SK)) /* keep contents of string */
-#define ISSPACE(c) ((rct)[c] & (WS)) /* white space character */
/* The `BORING' classes should be skipped over until something
interesting comes along... */
@@ -763,14 +761,12 @@ next:
#undef EF
#undef SK
#undef VH
-#undef WS
#undef ISDIGIT
#undef ISNUMBER
#undef ISEOF
#undef ISID1ST
#undef ISIDREST
#undef ISSTRKEEP
-#undef ISSPACE
#undef ISBORING
#undef ISCBORING
#undef ISCCBORING