summaryrefslogtreecommitdiff
path: root/lib/fnmatch.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-28 01:09:32 +0100
committerBruno Haible <bruno@clisp.org>2011-11-28 01:09:32 +0100
commite6f2518067b058e204ed70679dcf1eaafd32325e (patch)
tree028f75aecb1508b3f040d46b9bf8d935411b9e11 /lib/fnmatch.c
parentee939eeffba5016bc6973956e811dfe12a5801e1 (diff)
downloadgnulib-e6f2518067b058e204ed70679dcf1eaafd32325e.tar.gz
Remove unused macros from !_LIBC code in glibc-borrowed files.
* lib/fnmatch.c (STRCOLL): Remove macro. * lib/fnmatch_loop.c (STRCOLL): Remove undef. * lib/glob.c (__stat, __readdir64): Remove macros. * lib/tempname.c (__open64, __xstat64): Remove macros. Suggested by Paul Eggert.
Diffstat (limited to 'lib/fnmatch.c')
-rw-r--r--lib/fnmatch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 346e1c6b26..bd25b4ca32 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -168,7 +168,6 @@ static int posixly_correct;
# endif
# endif
# define MEMCHR(S, C, N) memchr (S, C, N)
-# define STRCOLL(S1, S2) strcoll (S1, S2)
# include "fnmatch_loop.c"
@@ -196,7 +195,6 @@ static int posixly_correct;
# endif
# endif
# define MEMCHR(S, C, N) wmemchr (S, C, N)
-# define STRCOLL(S1, S2) wcscoll (S1, S2)
# define WIDE_CHAR_VERSION 1
# undef IS_CHAR_CLASS