From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Andrew Cagney Cc: jtc@redback.com, gdb-patches@sourceware.cygnus.com Subject: Re: [RFA]: Remove unused header files. Date: Tue, 06 Mar 2001 09:20:00 -0000 Message-id: <3AA51C5C.11099F0@cygnus.com> References: <5mitltndwn.fsf@jtc.redback.com> <3AA2C971.D2432CEA@cygnus.com> X-SW-Source: 2001-03/msg00111.html > > 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