summaryrefslogtreecommitdiff
path: root/include/xregex2.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-07-12 10:35:00 +0000
committerDJ Delorie <dj@delorie.com>2005-07-12 10:35:00 +0000
commit3c3951e6ee2c9c00960711b18851fb213943148c (patch)
tree496dfdeb7da43700e08c108e2114fe29abf21dec /include/xregex2.h
parent4a7e016e2a31b3d6095669d5e93a214f3b3e34fe (diff)
downloadgdb-3c3951e6ee2c9c00960711b18851fb213943148c.tar.gz
merge from gcc
Diffstat (limited to 'include/xregex2.h')
-rw-r--r--include/xregex2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/xregex2.h b/include/xregex2.h
index 358f31e4378..d3d0da14a98 100644
--- a/include/xregex2.h
+++ b/include/xregex2.h
@@ -1,6 +1,9 @@
/* Definitions for data structures and routines for the regular
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
the C library, however. The master source lives in /gd/gnu/lib.
@@ -533,6 +536,9 @@ extern int regcomp (regex_t *__restrict __preg,
const char *__restrict __pattern,
int __cflags);
+#if (__GNUC__)
+__extension__
+#endif
extern int regexec (const regex_t *__restrict __preg,
const char *__restrict __string, size_t __nmatch,
regmatch_t __pmatch[__restrict_arr],