newlib/winsup/cygwin/regexp/regerror.c

19 lines
292 B
C
Raw Normal View History

2000-08-02 22:13:18 +02:00
#include "winsup.h"
2000-02-17 20:38:31 +01:00
#include "regexp.h"
#include <stdio.h>
void
regerror(const char *s __attribute__ ((unused)))
2000-02-17 20:38:31 +01: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 */
}