NetBSD/lib/libc/gen/_warn.c
thorpej 2d0f14c527 "Fix" the non-__indr_reference verions of the user-callable versions
of these functions.  This is somewhat of a kludge, but there is not
much else we can do for this case.

Because of how the callable versions are created, by CPP trickery
and inclusion of another .c file, we cannot allow the included .c
file to pull in "namespace.h", since it undoes the CPP trickery we
have performed.  Introduce a CPP macro that prevents the included .c
file from pulling in "namespace.h".
1997-07-17 21:33:14 +00:00

19 lines
270 B
C

/*
* J.T. Conklin, December 12, 1994
* Public Domain
*/
#include <sys/cdefs.h>
#ifdef __indr_reference
__indr_reference(_warn, warn);
#else
#define __NO_NAMESPACE_H /* XXX */
#define _warn warn
#define _vwarn vwarn
#define rcsid _rcsid
#include "warn.c"
#endif