diff options
author | jilles <jilles@FreeBSD.org> | 2012-01-01 22:17:12 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-01-01 22:17:12 +0000 |
commit | 8152f4c1927b535528fef82bc9449a9ffcfbfae5 (patch) | |
tree | c9bf6a1be78ff3a781bf9a2df71ecff91e72ee4f /bin/sh/expand.c | |
parent | bbd60abdf3ff8bb1ab2fbb59c1a4df2ee213f69e (diff) | |
download | FreeBSD-src-8152f4c1927b535528fef82bc9449a9ffcfbfae5.zip FreeBSD-src-8152f4c1927b535528fef82bc9449a9ffcfbfae5.tar.gz |
sh: Make various functions static.
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r-- | bin/sh/expand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c index 197be7e..d43cc35 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -113,6 +113,7 @@ static void expmeta(char *, char *); static void addfname(char *); static struct strlist *expsort(struct strlist *); static struct strlist *msort(struct strlist *, int); +static int patmatch(const char *, const char *, int); static char *cvtnum(int, char *); static int collate_range_cmp(wchar_t, wchar_t); @@ -1441,7 +1442,7 @@ match_charclass(const char *p, wchar_t chr, const char **end) * Returns true if the pattern matches the string. */ -int +static int patmatch(const char *pattern, const char *string, int squoted) { const char *p, *q, *end; |