Convert function declarations to ANSI C.
MFC after: 1 week
This commit is contained in:
parent
c1250af683
commit
b059cbd3eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154660
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user