K&R prototype in arm/linux-elf.h
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Jun 26 11:21:00 GMT 2000
> 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
More information about the Gcc
mailing list