diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/regex.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/regex.h b/include/regex.h index a51fbb502aa..8fe5e431e2d 100644 --- a/include/regex.h +++ b/include/regex.h @@ -1,4 +1,4 @@ -/* $NetBSD: regex.h,v 1.9 1998/12/09 20:58:55 drochner Exp $ */ +/* $NetBSD: regex.h,v 1.10 2003/02/05 23:13:07 kleink Exp $ */ /*- * Copyright (c) 1992 Henry Spencer. @@ -104,10 +104,11 @@ typedef struct { #define REG_BACKR 02000 /* force use of backref code */ __BEGIN_DECLS -int regcomp __P((regex_t *, const char *, int)); -size_t regerror __P((int, const regex_t *, char *, size_t)); -int regexec __P((const regex_t *, - const char *, size_t, regmatch_t [], int)); +int regcomp __P((regex_t * __restrict, const char * __restrict, int)); +size_t regerror __P((int, const regex_t * __restrict, char * __restrict, + size_t)); +int regexec __P((const regex_t * __restrict, + const char * __restrict, size_t, regmatch_t [], int)); void regfree __P((regex_t *)); __END_DECLS |
