This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Remove unused header files.
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA]: Remove unused header files.
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Tue, 06 Mar 2001 12:20:28 -0500
- CC: jtc at redback dot com, gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <5mitltndwn.fsf@jtc.redback.com> <3AA2C971.D2432CEA@cygnus.com>
> > The decode_line_1() declaration (IMO) indicates a unclear separation
> > of interface and implementation. (Again, IMO) a function declaration
> > should only be in one header. Please share your thoughts, on this
> > specific case, and in general. decode_line_1() is the first of many
> > functions that have multiple declarations.
>
I guess it should not be in symtab.c (old place), only in linespec.h (new place).
It may have been an oversight of my part.
Do you see any compilation failures if you remove the declaration of decode_line_1() from symtab.h?
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9