From 97263b8cbd098f060738084cb4234e5729fb4f72 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Sat, 23 May 1998 22:29:52 +0000 Subject: [PATCH] toplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings. * toplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings. From-SVN: r19986 --- gcc/ChangeLog | 5 +++++ gcc/toplev.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8160bb70ee..63e44774ff5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-05-23 Manfred Hollstein + + * toplev.h (tree_node): Provide global declaration to avoid + `limited scope' warnings. + Sat May 23 23:23:35 1998 Robert Lipe * test_summary: Display section breaks for each entry diff --git a/gcc/toplev.h b/gcc/toplev.h index c6af2fb07a0..46f7b3e2e30 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -5,6 +5,10 @@ #ifndef __GCC_TOPLEV_H__ #define __GCC_TOPLEV_H__ +#ifdef __STDC__ +union tree_node; +#endif + extern int count_error PROTO ((int)); extern void strip_off_ending PROTO ((char *, int)); extern void print_time PROTO ((char *, int));