summaryrefslogtreecommitdiff
path: root/libc/misc/internals/errno.c
blob: fcf143fb53ec8e9ef935aec221eacc8c6e99133f (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