From 4529b70b4ca28e6f2120a834c88b3ee2bc2e43f5 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 3 May 2001 23:39:53 +0000 Subject: - 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 --- misc.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'misc.h') 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 @@ -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); -- cgit v1.2.1