2d0f14c527
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".
18 lines
259 B
C
18 lines
259 B
C
/*
|
|
* J.T. Conklin, December 12, 1994
|
|
* Public Domain
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(_vwarnx, vwarnx);
|
|
#else
|
|
|
|
#define __NO_NAMESPACE_H /* XXX */
|
|
#define _vwarnx vwarnx
|
|
#define rcsid _rcsid
|
|
#include "vwarnx.c"
|
|
|
|
#endif
|