aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/regex.h b/src/regex.h
index e0ede012b20..8fe7ba16adc 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -1,8 +1,8 @@
1/* Definitions for data structures and routines for the regular 1/* Definitions for data structures and routines for the regular
2 expression library, version 0.12. 2 expression library, version 0.12.
3 3
4 Copyright (C) 1985, 1989-1993, 1995, 2000-2012 4 Copyright (C) 1985, 1989-1993, 1995, 2000-2013 Free Software
5 Free Software Foundation, Inc. 5 Foundation, Inc.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
@@ -15,9 +15,7 @@
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20 USA. */
21 19
22#ifndef _REGEX_H 20#ifndef _REGEX_H
23#define _REGEX_H 1 21#define _REGEX_H 1
@@ -532,7 +530,7 @@ extern int re_exec (const char *);
532/* GCC 2.95 and later have "__restrict"; C99 compilers have 530/* GCC 2.95 and later have "__restrict"; C99 compilers have
533 "restrict", and "configure" may have defined "restrict". */ 531 "restrict", and "configure" may have defined "restrict". */
534#ifndef __restrict 532#ifndef __restrict
535# if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__)) 533# if ! (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
536# if defined restrict || 199901L <= __STDC_VERSION__ 534# if defined restrict || 199901L <= __STDC_VERSION__
537# define __restrict restrict 535# define __restrict restrict
538# else 536# else