Use weak __thread declarations in parlib-compat (XCC)
[akaros.git] / tools / compilers / gcc-glibc / glibc-2.19-akaros / sysdeps / akaros / gethstent_r.c
1 #include <netdb.h>
2
3 void sethostent(int stayopen)
4 {
5 }
6 stub_warning(sethostent);
7
8 void endhostent(void)
9 {
10 }
11 stub_warning(endhostent);
12
13 int __gethostent_r(struct hostent *ret, char *buf, size_t buflen,
14                    struct hostent **result, int *h_errnop)
15 {
16         return 0;
17 }
18 weak_alias(__gethostent_r, gethostent_r);
19 stub_warning(gethostent_r);