summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-01-22 00:46:40 +0000
committerrwatson <rwatson@FreeBSD.org>2006-01-22 00:46:40 +0000
commit0205e6414056acbfbf02d735ac40134241763ab0 (patch)
treed4b2cbd28001b1f322c25e3d3a8520f396821f56 /sys/libkern
parent36caf43985b0fa1b336a7969a6ef05ef9a6af75f (diff)
downloadFreeBSD-src-0205e6414056acbfbf02d735ac40134241763ab0.zip
FreeBSD-src-0205e6414056acbfbf02d735ac40134241763ab0.tar.gz
Convert function declarations to ANSI C.
MFC after: 1 week
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/fnmatch.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/libkern/fnmatch.c b/sys/libkern/fnmatch.c
index 02ded93..d6cdc85 100644
--- a/sys/libkern/fnmatch.c
+++ b/sys/libkern/fnmatch.c
@@ -51,9 +51,7 @@ __FBSDID("$FreeBSD$");
static int rangematch(const char *, char, int, char **);
int
-fnmatch(pattern, string, flags)
- const char *pattern, *string;
- int flags;
+fnmatch(const char *pattern, const char *string, int flags)
{
const char *stringstart;
char *newp;
@@ -156,11 +154,7 @@ fnmatch(pattern, string, flags)
}
static int
-rangematch(pattern, test, flags, newp)
- const char *pattern;
- char test;
- int flags;
- char **newp;
+rangematch(const char *pattern, char test, int flags, char **newp)
{
int negate, ok;
char c, c2;
OpenPOWER on IntegriCloud