1 #include <netdb.h> 2 sethostent(int x)3void sethostent(int x) 4 { 5 } 6 gethostent()7struct hostent *gethostent() 8 { 9 return 0; 10 } 11 getnetent()12struct netent *getnetent() 13 { 14 return 0; 15 } 16 endhostent(void)17void endhostent(void) 18 { 19 } 20 21 weak_alias(sethostent, setnetent); 22 weak_alias(endhostent, endnetent); 23