This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto] Small header cleanup, remove 2 duplicate prototypes.


On Thu, Oct 8, 2009 at 11:17 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hi,
>
> Two functions in lto-streamer-in.h had their prototype appear twice in
> lto-streamer.h.
> Could someone include this in some more substantial LTO commit, please? :-)

I'll do.

Thanks,
Richard.

> Ciao!
> Steven
>
>
> ? ? ? ?* lto-streamer.h (lto_input_function_body): Remove duplicate prototype.
> ? ? ? ?(lto_input_constructors_and_inits): Likewise.
>
> Index: lto-streamer.h
> ===================================================================
> --- lto-streamer.h ? ? ?(revision 152573)
> +++ lto-streamer.h ? ? ?(working copy)
> @@ -802,18 +802,14 @@ extern void lto_orig_address_map (tree,
> ?extern intptr_t lto_orig_address_get (tree);
> ?extern void lto_orig_address_remove (tree);
> ?#endif
> ?extern void lto_check_version (int, int);
>
>
> ?/* In lto-streamer-in.c */
> -extern void lto_input_function_body (struct lto_file_decl_data *, tree,
> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const char *);
> -extern void lto_input_constructors_and_inits (struct lto_file_decl_data *,
> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? const char *);
> ?extern void lto_input_cgraph (struct lto_file_decl_data *, const char *);
> ?extern void lto_init_reader (void);
> ?extern tree lto_input_tree (struct lto_input_block *, struct data_in *);
> ?extern void lto_input_function_body (struct lto_file_decl_data *, tree,
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? const char *);
> ?extern void lto_input_constructors_and_inits (struct lto_file_decl_data *,
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const char *);
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]