From: Christos Zoulas Date: Thu, 6 Feb 1992 08:43:12 +0000 (-0800) Subject: pmatch declaration fix. X-Git-Tag: BSD-4_4-Snapshot-Development~8181 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/1afb645ac8512e4c97964979d49360c185c9977d pmatch declaration fix. SCCS-vsn: bin/csh/glob.c 5.35 --- diff --git a/usr/src/bin/csh/glob.c b/usr/src/bin/csh/glob.c index b54754ed94..13fad14a7b 100644 --- a/usr/src/bin/csh/glob.c +++ b/usr/src/bin/csh/glob.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)glob.c 5.34 (Berkeley) %G%"; +static char sccsid[] = "@(#)glob.c 5.35 (Berkeley) %G%"; #endif /* not lint */ #include @@ -61,6 +61,7 @@ static Char **libglob __P((Char **)); static Char **globexpand __P((Char **)); static int globbrace __P((Char *, Char *, Char ***)); static void expbrace __P((Char ***, Char ***, int)); +static int pmatch __P((Char *, Char *)); static void pword __P((void)); static void psave __P((int)); static void backeval __P((Char *, bool)); @@ -804,7 +805,7 @@ Gmatch(string, pattern) return(gres == gpol); } -int +static int pmatch(string, pattern) register Char *string, *pattern; {