summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/misc.h
diff options
context:
space:
mode:
authormouring <mouring@cvs.openbsd.org>2001-05-03 23:09:58 +0000
committermouring <mouring@cvs.openbsd.org>2001-05-03 23:09:58 +0000
commitace17593b1a10148497e14b189bf4c5980c4cad4 (patch)
treed074d45eaf901043123632cd48c363e6cf51cec0 /usr.bin/ssh/misc.h
parent8b1c9898e9cf472e1cec79a0adbe50369e4ae714 (diff)
Move colon() and cleanhost() to misc.c where I should I have put it in
the first place
Diffstat (limited to 'usr.bin/ssh/misc.h')
-rw-r--r--usr.bin/ssh/misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/misc.h b/usr.bin/ssh/misc.h
index 9cd4ac1b1b6..7d819796fd7 100644
--- a/usr.bin/ssh/misc.h
+++ b/usr.bin/ssh/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.4 2001/04/12 20:09:36 stevesk Exp $ */
+/* $OpenBSD: misc.h,v 1.5 2001/05/03 23:09:52 mouring Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -28,3 +28,7 @@ struct passwd * pwcopy(struct passwd *pw);
* Return 0 if invalid.
*/
int a2port(const char *s);
+
+/* code from scp.c/rcp.c */
+char *cleanhostname(char *host);
+char *colon(char *cp);