This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Makefile.in: Straighten dependencies on function.h.


On Jan 16, 2006, Kazu Hirata <kazu@codesourcery.com> wrote:

> Second, note that function.h implicitly depends on tree.h.  function.h
> uses "tree" but does not forward-declare the type.  This patch makes
> the dependency explicit by including tree.h.  Of course, FUNCTION_H is
> updated to include tree.h.

I guess the change to function.h can go in as obvious, so I can
approve the change to Makefile.in and it can all go in.  Thanks,

> 2006-01-16  Kazu Hirata  <kazu@codesourcery.com>

> 	* Makefile.in (FUNCTION_H): New.  Use it instead of
> 	function.h throughout the file.
> 	* function.h: Include tree.h.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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