Use weak __thread declarations in parlib-compat (XCC)
[akaros.git] / tools / compilers / gcc-glibc / glibc-2.19-akaros / sysdeps / akaros / getnetbyad_r.c
1 #include <netdb.h>
2
3 int __getnetbyaddr_r(uint32_t net, int type, struct netent *result_buf,
4                      char *buf, size_t buflen, struct netent **result,
5                      int *h_errnop)
6 {
7         return 0;
8 }
9 weak_alias(__getnetbyaddr_r, getnetbyaddr_r);
10 stub_warning(getnetbyaddr_r);