mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 00:42:06 +01:00
19 lines
250 B
C
19 lines
250 B
C
#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 */
|
|
}
|