This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFA]: Remove unused header files.



> > 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


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