summaryrefslogtreecommitdiff
path: root/lib/fnmatch_loop.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-10 08:36:52 +0000
committerJim Meyering <jim@meyering.net>2003-09-10 08:36:52 +0000
commit07c211b0f87a73c9f6c680a933dbc0c4dfd82023 (patch)
tree5c705e90a7127f7e8a39e6c5bc1cbd8975920d10 /lib/fnmatch_loop.c
parent2ce77368532559c41f09c5cdb1514fde558c9975 (diff)
downloadcoreutils-07c211b0f87a73c9f6c680a933dbc0c4dfd82023.tar.xz
(FCT): Remove forward decl; no longer needed.
(FCT): Define using a prototype.
Diffstat (limited to 'lib/fnmatch_loop.c')
-rw-r--r--lib/fnmatch_loop.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/fnmatch_loop.c b/lib/fnmatch_loop.c
index 932d907f1..a83dd9616 100644
--- a/lib/fnmatch_loop.c
+++ b/lib/fnmatch_loop.c
@@ -17,9 +17,6 @@
/* Match STRING against the filename pattern PATTERN, returning zero if
it matches, nonzero if not. */
-static int FCT (const CHAR *pattern, const CHAR *string,
- const CHAR *string_end, int no_leading_period, int flags)
- internal_function;
static int EXT (INT opt, const CHAR *pattern, const CHAR *string,
const CHAR *string_end, int no_leading_period, int flags)
internal_function;
@@ -27,12 +24,8 @@ static const CHAR *END (const CHAR *patternp) internal_function;
static int
internal_function
-FCT (pattern, string, string_end, no_leading_period, flags)
- const CHAR *pattern;
- const CHAR *string;
- const CHAR *string_end;
- int no_leading_period;
- int flags;
+FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end,
+ int no_leading_period, int flags)
{
register const CHAR *p = pattern, *n = string;
register UCHAR c;