summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/egrep.c2
-rw-r--r--src/grep.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/egrep.c b/src/egrep.c
index 80595fe5..f6a1d596 100644
--- a/src/egrep.c
+++ b/src/egrep.c
@@ -4,7 +4,7 @@
static void
Ecompile (char const *pattern, size_t size)
{
- return GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
+ GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
}
struct matcher const matchers[] = {
diff --git a/src/grep.c b/src/grep.c
index 8ef49683..1a4166c1 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -4,22 +4,22 @@
static void
Gcompile (char const *pattern, size_t size)
{
- return GEAcompile (pattern, size,
- RE_SYNTAX_GREP
- | RE_HAT_LISTS_NOT_NEWLINE
- | RE_NO_EMPTY_RANGES);
+ GEAcompile (pattern, size,
+ RE_SYNTAX_GREP
+ | RE_HAT_LISTS_NOT_NEWLINE
+ | RE_NO_EMPTY_RANGES);
}
static void
Ecompile (char const *pattern, size_t size)
{
- return GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
+ GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
}
static void
Acompile (char const *pattern, size_t size)
{
- return GEAcompile (pattern, size, RE_SYNTAX_AWK);
+ GEAcompile (pattern, size, RE_SYNTAX_AWK);
}
struct matcher const matchers[] = {