#include void sethostent(int x) { } struct hostent *gethostent() { return 0; } struct netent *getnetent() { return 0; } void endhostent(void) { } weak_alias(sethostent, setnetent); weak_alias(endhostent, endnetent); #ifdef TEST int main(void) { return 0; } #endif