pmatch declaration fix.
authorChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1992 08:43:12 +0000 (00:43 -0800)
committerChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1992 08:43:12 +0000 (00:43 -0800)
SCCS-vsn: bin/csh/glob.c 5.35

usr/src/bin/csh/glob.c

index b54754e..13fad14 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)glob.c     5.34 (Berkeley) %G%";
+static char sccsid[] = "@(#)glob.c     5.35 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -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 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));
 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);
 } 
 
     return(gres == gpol);
 } 
 
-int
+static int
 pmatch(string, pattern)
     register Char *string, *pattern;
 {
 pmatch(string, pattern)
     register Char *string, *pattern;
 {