2000-02-18 03:38:31 +08:00
|
|
|
#include "regexp.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
void
|
2000-02-24 11:53:22 +08:00
|
|
|
regerror(const char *s __attribute__ ((unused)))
|
2000-02-18 03:38:31 +08:00
|
|
|
{
|
|
|
|
#ifdef ERRAVAIL
|
|
|
|
error("regexp: %s", s);
|
|
|
|
#else
|
|
|
|
/*
|
|
|
|
fprintf(stderr, "regexp(3): %s\n", s);
|
|
|
|
exit(1);
|
|
|
|
*/
|
|
|
|
return; /* let std. egrep handle errors */
|
|
|
|
#endif
|
|
|
|
/* NOTREACHED */
|
|
|
|
}
|