summaryrefslogtreecommitdiff
path: root/lib/libcompat/4.3/regex.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-06-23 23:20:09 +0000
committerXin LI <delphij@FreeBSD.org>2009-06-23 23:20:09 +0000
commitece41d22fe5d15f51dbf304847053ad1f36cdf9e (patch)
treee3f58563171dfa195923732e5792fe3b0f5751d6 /lib/libcompat/4.3/regex.c
parentdb995e002701dc87fdff7c329697b21dd1d75746 (diff)
Notes
Diffstat (limited to 'lib/libcompat/4.3/regex.c')
-rw-r--r--lib/libcompat/4.3/regex.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libcompat/4.3/regex.c b/lib/libcompat/4.3/regex.c
index 9c4faf6580c4..470cab52e779 100644
--- a/lib/libcompat/4.3/regex.c
+++ b/lib/libcompat/4.3/regex.c
@@ -56,8 +56,7 @@ static int re_goterr;
static char *re_errstr;
char *
-re_comp(s)
- char *s;
+re_comp(char *s)
{
if (s == NULL || *s == '\0') {
if (re_regexp == NULL)
@@ -74,8 +73,7 @@ re_comp(s)
}
int
-re_exec(s)
- char *s;
+re_exec(char *s)
{
int rc;
@@ -85,8 +83,7 @@ re_exec(s)
}
void
-regerror(s)
- const char *s;
+regerror(const char *s)
{
re_goterr = 1;
if (re_errstr)