newlib/winsup/cygwin/regexp/regerror.c
2000-02-17 19:38:31 +00:00

25 lines
328 B
C

#if 0
#ifndef lint
static char *rcsid = "$Id$";
#endif /* not lint */
#endif
#include "regexp.h"
#include <stdio.h>
void
regerror(s)
const char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
/*
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
*/
return; /* let std. egrep handle errors */
#endif
/* NOTREACHED */
}