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