summaryrefslogtreecommitdiffstats
path: root/lib/libcompat/regexp/regerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompat/regexp/regerror.c')
-rw-r--r--lib/libcompat/regexp/regerror.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/libcompat/regexp/regerror.c b/lib/libcompat/regexp/regerror.c
deleted file mode 100644
index 6d0077d..0000000
--- a/lib/libcompat/regexp/regerror.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <regexp.h>
-#include <stdio.h>
-
-void
-regerror(s)
-const char *s;
-{
-#ifdef ERRAVAIL
- error("regexp: %s", s);
-#else
-/*
- fprintf(stderr, "regexp(3): %s\n", s);
- exit(1);
-*/
- return; /* let std. egrep handle errors */
-#endif
- /* NOTREACHED */
-}
OpenPOWER on IntegriCloud