1*46619Sbostic #include <regexp.h>
241346Sbostic #include <stdio.h>
341346Sbostic 
441346Sbostic void
regerror(s)541346Sbostic regerror(s)
6*46619Sbostic const char *s;
741346Sbostic {
841346Sbostic #ifdef ERRAVAIL
941346Sbostic 	error("regexp: %s", s);
1041346Sbostic #else
1141346Sbostic /*
1241346Sbostic 	fprintf(stderr, "regexp(3): %s\n", s);
1341346Sbostic 	exit(1);
1441346Sbostic */
1541346Sbostic 	return;	  /* let std. egrep handle errors */
1641346Sbostic #endif
1741346Sbostic 	/* NOTREACHED */
1841346Sbostic }
19