summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-04 14:45:12 +0000
committerJim Meyering <jim@meyering.net>1998-07-04 14:45:12 +0000
commit9b809393beb212e8f89b0291395480ce704bd762 (patch)
tree808a147e13d7988cbdaf2fb19ea4162715a46e95 /src
parent610567e17f3cee7e3d308071a4bee19f222b6c01 (diff)
downloadcoreutils-9b809393beb212e8f89b0291395480ce704bd762.tar.xz
Remove #ifdef around <regex.h> inclusion.
(extract_regexp): Remove #if !WITH_REGEX...#endif block.
Diffstat (limited to 'src')
-rw-r--r--src/csplit.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/csplit.c b/src/csplit.c
index d31f89979..685bfc19a 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -28,11 +28,7 @@
#include "system.h"
-#if WITH_REGEX
-# include <regex.h>
-#else
-# include <rx.h>
-#endif
+#include <regex.h>
#include "error.h"
#include "xstrtoul.h"
@@ -1150,9 +1146,6 @@ extract_regexp (int argnum, boolean ignore, char *str)
p->re_compiled.buffer = (unsigned char *) xmalloc (p->re_compiled.allocated);
p->re_compiled.fastmap = xmalloc (256);
p->re_compiled.translate = 0;
-#if !WITH_REGEX
- p->re_compiled.syntax_parens = 0;
-#endif
err = re_compile_pattern (p->regexpr, len, &p->re_compiled);
if (err)
{