fix error returns in gethostby*_r functions
[musl] / src / network / ent.c
1 #include "libc.h"
2
3 void sethostent(int x)
4 {
5 }
6
7 void *gethostent()
8 {
9         return 0;
10 }
11
12 void endhostent(void)
13 {
14 }
15
16 weak_alias(sethostent, setnetent);
17 weak_alias(gethostent, getnetent);
18 weak_alias(endhostent, endnetent);
19
20 weak_alias(sethostent, setservent);
21 weak_alias(gethostent, getservent);
22 weak_alias(endhostent, endservent);
23
24 weak_alias(sethostent, setprotoent);
25 weak_alias(gethostent, getprotoent);
26 weak_alias(endhostent, endprotoent);