libc/winsup/cygwin/regexp/regerror.c

24 lines
350 B
C

#if 0
#ifndef lint
static char *rcsid = "$Id$";
#endif /* not lint */
#endif
#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 */
}