summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-05-03 23:39:53 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-05-03 23:39:53 +0000
commit4529b70b4ca28e6f2120a834c88b3ee2bc2e43f5 (patch)
tree26c2d88d7d8ccf6961373455b68e1e087c211c7b /misc.h
parent3524d697374a37d39e971d96c33080c307304820 (diff)
- 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 2346a5ea5..a307df3a0 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.4 2001/04/12 20:09:36 stevesk Exp $ */ 1/* $OpenBSD: misc.h,v 1.5 2001/05/03 23:09:52 mouring Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -28,6 +28,10 @@ struct passwd * pwcopy(struct passwd *pw);
28 * Return 0 if invalid. 28 * Return 0 if invalid.
29 */ 29 */
30int a2port(const char *s); 30int a2port(const char *s);
31
32/* code from scp.c/rcp.c */
33char *cleanhostname(char *host);
34char *colon(char *cp);
31 35
32/* wrapper for signal interface */ 36/* wrapper for signal interface */
33typedef void (*mysig_t)(int); 37typedef void (*mysig_t)(int);