This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Duplicate declarations in rtl.h
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: Duplicate declarations in rtl.h
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 06 Oct 1998 21:25:41 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.GSO.4.02A.9810061655440.9758-100000@quincy.informatik.rwth-a
achen.de>you write:
> The functions defined in recog.c are declared both in rtl.h and in recog.h.
> That's unnecessary, and one set of declarations ought to go. Here's a
> suggested patch.
>
> Bernd
>
> * rtl.h: Don't declare any functions also declared in recog.h.
Thanks. Installed.
Presumably you're verifying that every file that includes rtl.h also includes
recog.h :-)? If so, please indicate as such for future patches of this
nature (or somehow indicate that every file which uses the functions in
question has a prototype available via some other mechanism). Otherwise I
have to check this myself :-)
jeff