diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 09:41:41 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 09:41:41 +0000 |
commit | 3b1b9d4638f0b92c161453f2896355183296803f (patch) | |
tree | 0f535b97adc6188d643959e2fbea7c9d7b39b12d /include/netdb.h | |
parent | 62de00801c704ef1f2711a385c2260ffaed6add6 (diff) |
gethostbyname can use gethostbyname2, saving one nearly 0.5k static buffer
text data bss dec hex filename
- 45 0 480 525 20d libc/inet/gethostbyname.o
+ 18 0 0 18 12 libc/inet/gethostbyname.o
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h index 99ba243f5..7d76b9c26 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -159,6 +159,7 @@ libc_hidden_proto(gethostbyname) or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ extern struct hostent *gethostbyname2 (__const char *__name, int __af); +libc_hidden_proto(gethostbyname2) /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. The last |