Date: Tue, 13 Aug 1996 20:46:46 +1000 From: Bruce Evans <bde@zeta.org.au> To: CVS-committers@freefall.freebsd.org, ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-include@freefall.freebsd.org Subject: Re: cvs commit: src/include locale.h Message-ID: <199608131046.UAA06547@godzilla.zeta.org.au>
index | next in thread | raw e-mail
> Modified: include locale.h > Log: > There is so many places where range comparation (using collate) > needed (much more than I think initially), so I forced to add > new user-visible non-standard function to libc. Non-standard functions that are declared in standard headers should be ifdefed: #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) See <stdlib.h>. Prototypes should be alphabetical order. We normally use a separate list for the nonstandard functions (see <stdlib.h> again) so this probably doesn't apply to the new functions. The ordering in <stdlib.h> is actually screwed up. putenv and getenv are out of order because they were once in a separate list for !_ANSI_SOURCE-only. The rand48 functions are out of order because someone didn't follow the rules. Brucehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608131046.UAA06547>
