summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regcomp.c
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-02 07:49:35 +0000
committermike <mike@FreeBSD.org>2002-10-02 07:49:35 +0000
commit384c8f8fcd9e7fdacef20400c61698f841c5056a (patch)
treee9e33ee1e527e372ff8dc15fd1eb11b996ab444f /lib/libc/regex/regcomp.c
parent1b32e38e4fb531e26eaf29d5df1755323646d2b7 (diff)
downloadFreeBSD-src-384c8f8fcd9e7fdacef20400c61698f841c5056a.zip
FreeBSD-src-384c8f8fcd9e7fdacef20400c61698f841c5056a.tar.gz
Add restrict type-qualifier.
Diffstat (limited to 'lib/libc/regex/regcomp.c')
-rw-r--r--lib/libc/regex/regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c
index 91de8d7..07c3955 100644
--- a/lib/libc/regex/regcomp.c
+++ b/lib/libc/regex/regcomp.c
@@ -189,8 +189,8 @@ static int never = 0; /* for use in asserts; shuts lint up */
*/
int /* 0 success, otherwise REG_something */
regcomp(preg, pattern, cflags)
-regex_t *preg;
-const char *pattern;
+regex_t * __restrict preg;
+const char * __restrict pattern;
int cflags;
{
struct parse pa;
OpenPOWER on IntegriCloud