]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/xregex2.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / include / xregex2.h
index 358f31e437845023c1ce974e2c31b8fda50f8f05..5f792e6b643996470c31a1cf24b4d880371d1c19 100644 (file)
@@ -1,6 +1,8 @@
 /* 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-2021 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 +535,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],