aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/gnu-regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/gnu-regex.c')
-rw-r--r--gcc/fixinc/gnu-regex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c
index c4a8244696e..7468cad5269 100644
--- a/gcc/fixinc/gnu-regex.c
+++ b/gcc/fixinc/gnu-regex.c
@@ -22,9 +22,6 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
@@ -156,6 +153,8 @@ extern char *re_syntax_table;
static char re_syntax_table[CHAR_SET_SIZE];
+static void init_syntax_once PARAMS ((void));
+
static void
init_syntax_once ()
{