This is the mail archive of the gcc@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]

Re: K&R prototype in arm/linux-elf.h


 > 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

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