This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
<arch>-protos.h, why?
- To: gcc at gcc dot gnu dot org
- Subject: <arch>-protos.h, why?
- From: Stan Shebs <shebs at apple dot com>
- Date: Tue, 02 Jan 2001 19:05:07 -0800
OK, this is probably a dumb question, but why do we have separate
<arch>-protos.h files? As far as I can tell by digging around,
they're invariably included after <arch>.h, which would suggest
that the prototypes could be included in <arch>.h directly. So
presumably there is some other reason for splitting them out.
I also note that although they've become commonplace, there's
no mention in any of the porting documentation. If there's a
rule now, surely it's worth a mention?
(This is an issue for me because multi-platform Darwin support
needs prototypes, but they don't fit neatly into the current
system, at least as far as I understand it.)
Stan