From: Mike Frysinger Date: Wed, 21 Feb 2007 16:14:11 +0000 (-0000) Subject: add missing file for previous commit as pointed out by Peter Kjellerstedt X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=14452ff798b09b3f1615769041369c04219c49ed;p=uclinux-h8%2Fuclibc-ng.git add missing file for previous commit as pointed out by Peter Kjellerstedt --- diff --git a/libc/misc/internals/internal_errno.h b/libc/misc/internals/internal_errno.h new file mode 100644 index 000000000..c46e07eef --- /dev/null +++ b/libc/misc/internals/internal_errno.h @@ -0,0 +1,21 @@ +/* + * + */ + +#include +#include +#include + +#undef errno +#undef h_errno + +#ifdef __UCLIBC_HAS_THREADS__ +# define errno __uclibc_errno +# define h_errno __uclibc_h_errno +#endif + +extern int h_errno; +libc_hidden_proto(h_errno) + +extern int errno; +libc_hidden_proto(errno)