freebsd-src/lib/libc/locale/nomacros.c
Warner Losh 559a218c9b libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D42385
2023-11-01 16:44:30 -06:00

16 lines
427 B
C

/*
* Tell <ctype.h> to generate extern versions of all its inline
* functions. The extern versions get called if the system doesn't
* support inlines or the user defines _DONT_USE_CTYPE_INLINE_
* before including <ctype.h>.
*/
#define _EXTERNALIZE_CTYPE_INLINES_
/*
* Also make sure <runetype.h> does not generate an inline definition
* of __getCurrentRuneLocale().
*/
#define __RUNETYPE_INTERNAL
#include <ctype.h>