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.


>>>>> "Fernando" == Fernando Nasser <fnasser@cygnus.com> writes:
>> > 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.


Fernando> I guess it should not be in symtab.c (old place), only in
Fernando> linespec.h (new place).  It may have been an oversight of my
Fernando> part.

No biggie.  

Fernando> Do you see any compilation failures if you remove the
Fernando> declaration of decode_line_1() from symtab.h?

Now that I know where the declaration is supposed to live, I'll try it
out.

        --jtc

-- 
J.T. Conklin
RedBack Networks


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