diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-03 23:39:53 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-03 23:39:53 +0000 |
commit | 4529b70b4ca28e6f2120a834c88b3ee2bc2e43f5 (patch) | |
tree | 26c2d88d7d8ccf6961373455b68e1e087c211c7b /misc.h | |
parent | 3524d697374a37d39e971d96c33080c307304820 (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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 | */ |
30 | int a2port(const char *s); | 30 | int a2port(const char *s); |
31 | |||
32 | /* code from scp.c/rcp.c */ | ||
33 | char *cleanhostname(char *host); | ||
34 | char *colon(char *cp); | ||
31 | 35 | ||
32 | /* wrapper for signal interface */ | 36 | /* wrapper for signal interface */ |
33 | typedef void (*mysig_t)(int); | 37 | typedef void (*mysig_t)(int); |