diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1367ee624..b2592c824 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -297,8 +297,8 @@ extern struct hostent *xgethostbyname2(const char *name, int af); extern int create_icmp_socket(void); extern int create_icmp6_socket(void); extern int xconnect(struct sockaddr_in *s_addr); -extern int bb_getport(const char *port); -extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host, const char *port); +extern unsigned short bb_lookup_port(const char *port, unsigned short default_port); +extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host); //#warning wrap this? char *dirname (char *path); |