projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Ansify (i.e., silence -Wold-style-definition) the rest of lib/
[dragonfly.git]
/
lib
/
libcompat
/
regexp
/
regerror.c
1
/* $DragonFly: src/lib/libcompat/regexp/regerror.c,v 1.2 2008/09/30 16:57:04 swildner Exp $ */
2
3
#include <regexp.h>
4
#include <stdio.h>
5
6
void
7
regerror(const char *s)
8
{
9
#ifdef ERRAVAIL
10
error("regexp: %s", s);
11
#else
12
/*
13
fprintf(stderr, "regexp(3): %s\n", s);
14
exit(1);
15
*/
16
return; /* let std. egrep handle errors */
17
#endif
18
/* NOTREACHED */
19
}