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