summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/regexp/regerror.c
blob: b07f669bc380c5100a251ae82cad9e2c64cca537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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 */
}