newlib/winsup/cygwin/regexp/regerror.c
2000-02-24 20:59:30 +00:00

18 lines
272 B
C

#include "regexp.h"
#include <stdio.h>
void
regerror(const char *s __attribute__ ((unused)))
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
/*
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
*/
return; /* let std. egrep handle errors */
#endif
/* NOTREACHED */
}