summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/chpass.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2009-03-05 20:53:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2009-03-05 20:53:14 +0000
commit694ad78fe2ff5303c2928dc2fa96579dbb2625e2 (patch)
treeab82ce402056b123b9d62b173adbe5ce1b5ed0fd /usr.bin/chpass/chpass.h
parent94b35ac8ba6c670755f5c398f89709d960544622 (diff)
Call endusershell() at the end of ok_shell(), making a copy of the
(possibly) expanded shell as needed. OK deraadt@
Diffstat (limited to 'usr.bin/chpass/chpass.h')
-rw-r--r--usr.bin/chpass/chpass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/chpass.h b/usr.bin/chpass/chpass.h
index 59a55707255..833f73552f8 100644
--- a/usr.bin/chpass/chpass.h
+++ b/usr.bin/chpass/chpass.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: chpass.h,v 1.9 2003/06/25 22:41:35 deraadt Exp $ */
+/* $OpenBSD: chpass.h,v 1.10 2009/03/05 20:53:13 millert Exp $ */
/* $NetBSD: chpass.h,v 1.4 1996/05/15 21:50:44 jtc Exp $ */
/*
@@ -59,7 +59,7 @@ extern uid_t uid;
int atot(char *, time_t *);
void display(char *, int, struct passwd *);
int edit(char *, struct passwd *);
-char *ok_shell(char *);
+int ok_shell(char *, char **);
int p_change(char *, struct passwd *, ENTRY *);
int p_class(char *, struct passwd *, ENTRY *);
int p_expire(char *, struct passwd *, ENTRY *);