diff options
Diffstat (limited to 'src/network/ent.c')
-rw-r--r-- | src/network/ent.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/network/ent.c b/src/network/ent.c index ececdc4..5abea63 100644 --- a/src/network/ent.c +++ b/src/network/ent.c @@ -1,10 +1,16 @@ +#include <netdb.h> #include "libc.h" void sethostent(int x) { } -void *gethostent() +struct hostent *gethostent() +{ + return 0; +} + +struct netent *getnetent() { return 0; } @@ -14,5 +20,4 @@ void endhostent(void) } weak_alias(sethostent, setnetent); -weak_alias(gethostent, getnetent); weak_alias(endhostent, endnetent); |