summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-10-23 15:57:54 +0000
committerJim Meyering <jim@meyering.net>1997-10-23 15:57:54 +0000
commit096b53e6c6cff5aa54eaef72ca785e8d7cda43d1 (patch)
treebf9efa58452696fe9651ae88e6a4dc5813c809f6
parent1f98316792e4516b35fa6a22adc3a5895d11452a (diff)
downloadcoreutils-096b53e6c6cff5aa54eaef72ca785e8d7cda43d1.tar.xz
[STREQ]: Undef then redefine.
-rw-r--r--src/test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test.c b/src/test.c
index 9ebf6025f..93a3df48d 100644
--- a/src/test.c
+++ b/src/test.c
@@ -2,7 +2,7 @@
/* Modified to run with the GNU shell by bfox. */
-/* Copyright (C) 1987-1993, 1994, 95, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1987-1996, 1997 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -61,9 +61,8 @@ char *program_name;
extern int errno;
#endif
-#if !defined (STREQ)
-# define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0)
-#endif /* !STREQ */
+#undef STREQ
+#define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0)
#if !defined (member)
# define member(c, s) ((c) ? (strchr ((s), (c)) ? 1 : 0) : 0)