diff options
Diffstat (limited to 'contrib/nvi/regex/regex.h')
-rw-r--r-- | contrib/nvi/regex/regex.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/contrib/nvi/regex/regex.h b/contrib/nvi/regex/regex.h index cabd66b..20ea786 100644 --- a/contrib/nvi/regex/regex.h +++ b/contrib/nvi/regex/regex.h @@ -16,11 +16,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -100,10 +96,10 @@ typedef struct { #define REG_LARGE 01000 /* force large representation */ #define REG_BACKR 02000 /* force use of backref code */ -int regcomp __P((regex_t *, const RCHAR_T *, int)); -size_t regerror __P((int, const regex_t *, char *, size_t)); -int regexec __P((const regex_t *, - const RCHAR_T *, size_t, regmatch_t [], int)); -void regfree __P((regex_t *)); +int regcomp(regex_t *, const RCHAR_T *, int); +size_t regerror(int, const regex_t *, char *, size_t); +int regexec(const regex_t *, + const RCHAR_T *, size_t, regmatch_t [], int); +void regfree(regex_t *); #endif /* !_REGEX_H_ */ |