This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] Small header cleanup, remove 2 duplicate prototypes.
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Diego Novillo <dnovillo at google dot com>
- Date: Fri, 9 Oct 2009 12:07:36 +0200
- Subject: Re: [lto] Small header cleanup, remove 2 duplicate prototypes.
- References: <571f6b510910081417m66bbfeape42821a6c4b47646@mail.gmail.com>
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 *);
>