This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: K&R prototype in arm/linux-elf.h
- To: gcc at gcc dot gnu dot org, pthomas at suse dot de
- Subject: Re: K&R prototype in arm/linux-elf.h
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 26 Jun 2000 14:21:27 -0400 (EDT)
- Cc: nickc at cygnus dot com
> From: Philipp Thomas <pthomas@suse.de>
>
> Kaveh,
>
> I've pulled you into this discussion because you're far more familiar
> with this stuff than I.
>
> While testing my changes to the target specific header, I noticed that
> arm/linux-elf.h has a declaration for text_section which is a K&R
> prototype. Question is, could I use PARAMS() here? Or how could this
> be turned into an ISO C conforming declaration?
> Philipp
Yes you can use PARAMS in config files, but text_section() is already
fully prototyped in output.h. You might just be able to delete the
declaration in arm/linux-elf.h. If any warnings appear, just include
output.h in the relevant file.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions