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".
19 lines
261 B
C
19 lines
261 B
C
/*
|
|
* J.T. Conklin, December 12, 1994
|
|
* Public Domain
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(_err, err);
|
|
#else
|
|
|
|
#define __NO_NAMESPACE_H /* XXX */
|
|
#define _err err
|
|
#define _verr verr
|
|
#define rcsid _rcsid
|
|
#include "err.c"
|
|
|
|
#endif
|