aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-03-13 10:18:38 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-03-13 10:18:38 +0000
commit5bef73a14e3d70574c4b28a9187d138caed78796 (patch)
treeb22cd263f8547c9504472b810532ef981a32813a
parentd82c57a8c36e5c9cdfe61a41b40f763741413450 (diff)
downloadgcc-5bef73a14e3d70574c4b28a9187d138caed78796.zip
gcc-5bef73a14e3d70574c4b28a9187d138caed78796.tar.gz
gcc-5bef73a14e3d70574c4b28a9187d138caed78796.tar.bz2
libgcov.c: Remove stdio.h include and NULL un-define.
2012-03-13 Richard Guenther <rguenther@suse.de> * libgcov.c: Remove stdio.h include and NULL un-define. From-SVN: r185324
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/libgcov.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index de9eebe..420e30f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,9 @@
2012-03-13 Richard Guenther <rguenther@suse.de>
+ * libgcov.c: Remove stdio.h include and NULL un-define.
+
+2012-03-13 Richard Guenther <rguenther@suse.de>
+
PR target/52569
* unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
diff --git a/libgcc/libgcov.c b/libgcc/libgcov.c
index fd04fb1..1603912 100644
--- a/libgcc/libgcov.c
+++ b/libgcc/libgcov.c
@@ -35,8 +35,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#if defined(inhibit_libc)
#define IN_LIBGCOV (-1)
#else
-#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */
-#include <stdio.h>
#define IN_LIBGCOV 1
#if defined(L_gcov)
#define GCOV_LINKAGE /* nothing */