From: Jim Meyering Date: Wed, 10 Sep 2003 08:36:52 +0000 (+0000) Subject: (FCT): Remove forward decl; no longer needed. X-Git-Tag: v5.1.0~776 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c211b0f87a73c9f6c680a933dbc0c4dfd82023;p=thirdparty%2Fcoreutils.git (FCT): Remove forward decl; no longer needed. (FCT): Define using a prototype. --- diff --git a/lib/fnmatch_loop.c b/lib/fnmatch_loop.c index 932d907f1c..a83dd96169 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;