Commit 12548280 by Ben Elliston Committed by Ben Elliston

xregex2.h (regexec): Qualify this prototype with __extension__ when compiling with GNU C.

	* xregex2.h (regexec): Qualify this prototype with __extension__
	when compiling with GNU C.

From-SVN: r101910
parent d6e9821f
2005-07-12 Ben Elliston <bje@au.ibm.com>
* xregex2.h (regexec): Qualify this prototype with __extension__
when compiling with GNU C.
2005-07-03 Steve Ellcey <sje@cup.hp.com> 2005-07-03 Steve Ellcey <sje@cup.hp.com>
PR other/13906 PR other/13906
......
/* Definitions for data structures and routines for the regular /* Definitions for data structures and routines for the regular
expression library, version 0.12. expression library, version 0.12.
Copyright (C) 1985,1989-1993,1995-1998, 2000 Free Software Foundation, Inc.
Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 2000, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library. Its master source is NOT part of This file is part of the GNU C Library. Its master source is NOT part of
the C library, however. The master source lives in /gd/gnu/lib. the C library, however. The master source lives in /gd/gnu/lib.
...@@ -533,6 +536,9 @@ extern int regcomp (regex_t *__restrict __preg, ...@@ -533,6 +536,9 @@ extern int regcomp (regex_t *__restrict __preg,
const char *__restrict __pattern, const char *__restrict __pattern,
int __cflags); int __cflags);
#if (__GNUC__)
__extension__
#endif
extern int regexec (const regex_t *__restrict __preg, extern int regexec (const regex_t *__restrict __preg,
const char *__restrict __string, size_t __nmatch, const char *__restrict __string, size_t __nmatch,
regmatch_t __pmatch[__restrict_arr], regmatch_t __pmatch[__restrict_arr],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment