aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/netdb.h
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-06-02 15:31:01 -0700
committerAndroid Code Review <code-review@android.com>2011-06-02 15:31:01 -0700
commitb127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b (patch)
tree9fd2025567af61dc64c2b23c9da6827f933bff46 /libc/include/netdb.h
parente1bd6aa4e10e6b05e74d915c52e11a3998217522 (diff)
parent8a5123740750298433cce102f93cf5871985aa09 (diff)
downloadandroid_bionic-b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b.tar.gz
android_bionic-b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b.tar.bz2
android_bionic-b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b.zip
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
Diffstat (limited to 'libc/include/netdb.h')
-rw-r--r--libc/include/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/netdb.h b/libc/include/netdb.h
index c2e08ea87..949136455 100644
--- a/libc/include/netdb.h
+++ b/libc/include/netdb.h
@@ -209,8 +209,8 @@ void endnetgrent(void);
void endprotoent(void);
void endservent(void);
void freehostent(struct hostent *);
-struct hostent *gethostbyaddr(const char *, int, int);
-int gethostbyaddr_r(const char *, int, int, struct hostent *, char *, size_t, struct hostent **, int *);
+struct hostent *gethostbyaddr(const void *, int, int);
+int gethostbyaddr_r(const void *, int, int, struct hostent *, char *, size_t, struct hostent **, int *);
struct hostent *gethostbyname(const char *);
int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
struct hostent *gethostbyname2(const char *, int);