summaryrefslogtreecommitdiff
path: root/src/pcresearch.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-10-03 12:24:16 +0200
committerJim Meyering <meyering@redhat.com>2012-10-03 12:24:16 +0200
commitf97be96b2dcea51605b143fa1695b4ea5c75bddc (patch)
tree4b1f4f29fe8012f5541eef64d49600982d6ef6f9 /src/pcresearch.c
parent3b14aaa4ddefb86e1bff782fc4575eec6186ca49 (diff)
downloadgrep-f97be96b2dcea51605b143fa1695b4ea5c75bddc.tar.gz
maint: factor out STREQ definition
* src/main.c (STREQ): Remove definition. * src/pcresearch.c: (STREQ): Likewise. * src/system.h (STREQ): Define it here instead.
Diffstat (limited to 'src/pcresearch.c')
-rw-r--r--src/pcresearch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pcresearch.c b/src/pcresearch.c
index a15f598d..2e95f2df 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,8 +29,6 @@
# include <langinfo.h>
#endif
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
#if HAVE_LIBPCRE
/* Compiled internal form of a Perl regular expression. */
static pcre *cre;