summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/tildexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/tildexpand.c')
-rw-r--r--crypto/openssh/tildexpand.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/openssh/tildexpand.c b/crypto/openssh/tildexpand.c
index f25f7d9..46bdaae 100644
--- a/crypto/openssh/tildexpand.c
+++ b/crypto/openssh/tildexpand.c
@@ -11,10 +11,11 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: tildexpand.c,v 1.8 2000/09/07 20:27:55 deraadt Exp $");
+RCSID("$OpenBSD: tildexpand.c,v 1.11 2001/02/08 19:30:53 itojun Exp $");
#include "xmalloc.h"
-#include "ssh.h"
+#include "log.h"
+#include "tildexpand.h"
/*
* Expands tildes in the file name. Returns data allocated by xmalloc.
@@ -24,7 +25,7 @@ char *
tilde_expand_filename(const char *filename, uid_t my_uid)
{
const char *cp;
- unsigned int userlen;
+ u_int userlen;
char *expanded;
struct passwd *pw;
char user[100];
OpenPOWER on IntegriCloud