I realized that I didn't remove uses of _GNU_SOURCE from libgo/runtime.
They are no longer necessary now that it is defined on the command line
for all libgo .c files.  Bootstrapped on x86_64-unknown-linux-gnu.
Committed to mainline.

Ian

diff -r cf7ab235f776 libgo/runtime/runtime.h
--- a/libgo/runtime/runtime.h	Tue Dec 20 10:17:02 2011 -0800
+++ b/libgo/runtime/runtime.h	Tue Dec 20 10:46:59 2011 -0800
@@ -6,7 +6,6 @@
 
 #include "config.h"
 
-#define _GNU_SOURCE
 #include "go-assert.h"
 #include <setjmp.h>
 #include <signal.h>
diff -r cf7ab235f776 libgo/runtime/yield.c
--- a/libgo/runtime/yield.c	Tue Dec 20 10:17:02 2011 -0800
+++ b/libgo/runtime/yield.c	Tue Dec 20 10:46:59 2011 -0800
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-#define _GNU_SOURCE
-
 #include "config.h"
 
 #include <stddef.h>

Reply via email to