diff options
author | Damien Miller <djm@mindrot.org> | 2005-05-26 12:02:14 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-05-26 12:02:14 +1000 |
commit | 5fd38c0ed985d7d699e6be1ff5d211cac130b71e (patch) | |
tree | aa80a3f2b1e522b6f83805ab582645df2049f6ab /misc.h | |
parent | 1b0de9a04127eeec9a5352abd16113bb8faa494c (diff) |
- djm@cvs.openbsd.org 2005/04/09 04:32:54
[misc.c misc.h tildexpand.c Makefile.in]
replace tilde_expand_filename with a simpler implementation, ahead of
more whacking; ok deraadt@
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.21 2005/03/01 10:09:52 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.22 2005/04/09 04:32:54 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -24,6 +24,7 @@ char *hpdelim(char **); | |||
24 | char *cleanhostname(char *); | 24 | char *cleanhostname(char *); |
25 | char *colon(char *); | 25 | char *colon(char *); |
26 | long convtime(const char *); | 26 | long convtime(const char *); |
27 | char *tilde_expand_filename(const char *, uid_t); | ||
27 | 28 | ||
28 | struct passwd *pwcopy(struct passwd *); | 29 | struct passwd *pwcopy(struct passwd *); |
29 | 30 | ||
@@ -35,10 +36,6 @@ struct arglist { | |||
35 | }; | 36 | }; |
36 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); | 37 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); |
37 | 38 | ||
38 | /* tildexpand.c */ | ||
39 | |||
40 | char *tilde_expand_filename(const char *, uid_t); | ||
41 | |||
42 | /* readpass.c */ | 39 | /* readpass.c */ |
43 | 40 | ||
44 | #define RP_ECHO 0x0001 | 41 | #define RP_ECHO 0x0001 |