summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libcruft/herrno_location.c
blob: 5908fe2121c30fad3df0587c75140b461122651a (plain)
1
2
3
4
5
6
7
8
#include <errno.h>
#include <resolv.h>
#include <netdb.h>

int *__h_errno_location(void);
int *__h_errno_location(void) { return &h_errno; }

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