diff --git a/include/netdb.h b/include/netdb.h index 33b7a0a..3849829 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -147,6 +147,8 @@ int *__h_errno_location(void); #define TRY_AGAIN 2 #define NO_RECOVERY 3 #define NO_DATA 4 + +int innetgr(const char *, const char *, const char *, const char *); #endif diff --git a/src/network/ent.c b/src/network/ent.c index 4c2f24b..ebc0890 100644 --- a/src/network/ent.c +++ b/src/network/ent.c @@ -12,6 +12,11 @@ void *gethostent() void endhostent(void) { } +int innetgr(const char *netgroup, const char *host, + const char *user, const char *domain) +{ + return 0; +} weak_alias(sethostent, setnetent); weak_alias(gethostent, getnetent);