Subject: __STDC__ in cdefs_elf.h
To: None <tech-kern@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-kern
Date: 09/08/2006 09:38:00
There are a number of tests for __STDC__ in cdefs_elf.h.  I think this
is silly, and makes the code harder to read.  Additionally, the link set
support in the file does ANSI token concatenation, but lacks the
__STDC__ checks.

I'd like to unidef that, removing all the support for pre-ANSI
environments.  About the only conceivable objection I can imagine is if
someone is still using K&R C to build kernels, or if this file is
somehow used in bootstrapping tools (e.g. to bootstrap GCC from a K&R C
environment).

I don't think _either_ is the case (I think even the pdp10 external pcc
compiler supports ANSI C now, although I don't know if those kernels are
built with ELF or not), so I'd like to clean this up.

Objections?

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191