summaryrefslogtreecommitdiff
path: root/libc/misc/internals/errno.c
blob: 20b26b2b6a4cde31d9d69a98547e38590d22f38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "internal_errno.h"

#ifdef __UCLIBC_HAS_THREADS__
/* libc_hidden_proto(errno) */
/* libc_hidden_proto(h_errno) */
#endif
int errno = 0;
int h_errno = 0;

#ifdef __UCLIBC_HAS_THREADS__
libc_hidden_def(errno)
weak_alias(errno, _errno)
libc_hidden_def(h_errno)
weak_alias(h_errno, _h_errno)
#endif