Initial import from FreeBSD RELENG_4:
[games.git] / lib / libcompat / regexp / regerror.c
1 #include <regexp.h>
2 #include <stdio.h>
3
4 void
5 regerror(s)
6 const char *s;
7 {
8 #ifdef ERRAVAIL
9         error("regexp: %s", s);
10 #else
11 /*
12         fprintf(stderr, "regexp(3): %s\n", s);
13         exit(1);
14 */
15         return;   /* let std. egrep handle errors */
16 #endif
17         /* NOTREACHED */
18 }