/* $OpenBSD: regerror.c,v 1.3 1999/08/02 17:10:47 downsj Exp $ */ #ifndef lint static char *rcsid = "$OpenBSD: regerror.c,v 1.3 1999/08/02 17:10:47 downsj Exp $"; #endif /* not lint */ #include #include static void (*_new_regerror)() = NULL; void v8_regerror(s) const char *s; { if (_new_regerror != NULL) _new_regerror(s); else warnx(s); return; } void v8_setregerror(f) void (*f)(); { _new_regerror = f; }