summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-03 21:20:18 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-03 21:20:18 +0000
commit04d055f4e11469f74bdde38837deefab27edb2e9 (patch)
tree2fb308c0bb612180b7bf8280d1ee5e5a76ac184c /include
parentf6067beaa9408730c4232620330453e756d6d4f9 (diff)
Fix rdate and ftpget/ftpput so they compile with the new xconnect.
I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 53062de4d..945dc95bc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -295,8 +295,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(char *port);
-extern void bb_lookup_host(struct sockaddr_in *s_in, char *host, char *port);
+extern int bb_getport(const char *port);
+extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host, const char *port);
//#warning wrap this?
char *dirname (char *path);