summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libcruft/herrno_location.c
blob: 203f73d4b3cb80dfbcb190ea24ead0550b96374a (plain)
1
2
3
4
5
extern int h_errno;

int *__h_errno_location() { return &h_errno; }

int *h_errno_location() __attribute__((weak,alias("__h_errno_location")));