diff options
author | mike <mike@FreeBSD.org> | 2002-10-02 07:49:35 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-02 07:49:35 +0000 |
commit | 384c8f8fcd9e7fdacef20400c61698f841c5056a (patch) | |
tree | e9e33ee1e527e372ff8dc15fd1eb11b996ab444f /lib/libc/regex/regexec.c | |
parent | 1b32e38e4fb531e26eaf29d5df1755323646d2b7 (diff) | |
download | FreeBSD-src-384c8f8fcd9e7fdacef20400c61698f841c5056a.zip FreeBSD-src-384c8f8fcd9e7fdacef20400c61698f841c5056a.tar.gz |
Add restrict type-qualifier.
Diffstat (limited to 'lib/libc/regex/regexec.c')
-rw-r--r-- | lib/libc/regex/regexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/regex/regexec.c b/lib/libc/regex/regexec.c index a23c61c..abbd9ba 100644 --- a/lib/libc/regex/regexec.c +++ b/lib/libc/regex/regexec.c @@ -156,10 +156,10 @@ static int nope = 0; /* for use in asserts; shuts lint up */ */ int /* 0 success, REG_NOMATCH failure */ regexec(preg, string, nmatch, pmatch, eflags) -const regex_t *preg; -const char *string; +const regex_t * __restrict preg; +const char * __restrict string; size_t nmatch; -regmatch_t pmatch[]; +regmatch_t pmatch[__restrict]; int eflags; { struct re_guts *g = preg->re_g; |