summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authormouring <mouring>2001-05-03 23:39:53 +0000
committermouring <mouring>2001-05-03 23:39:53 +0000
commita8ae8dcf074038eaabccc36175331926dbfce240 (patch)
tree154837c20a58369c2746b0cbe65e5a103b476586 /misc.h
parent5c6e609cadaefc46c3df736461457661a35dd9b0 (diff)
downloadopenssh-a8ae8dcf074038eaabccc36175331926dbfce240.tar.gz
- mouring@cvs.openbsd.org 2001/05/03 23:09:53
[misc.c misc.h scp.c sftp.c] Move colon() and cleanhost() to misc.c where I should I have put it in the first place
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 2346a5ea..a307df3a 100644
--- a/misc.h
+++ b/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,6 +28,10 @@ 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);
/* wrapper for signal interface */
typedef void (*mysig_t)(int);