summaryrefslogtreecommitdiffstats
path: root/chpass/chpass.h
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/chpass.h')
-rw-r--r--chpass/chpass.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chpass/chpass.h b/chpass/chpass.h
index 5b2b608..ef0c708 100644
--- a/chpass/chpass.h
+++ b/chpass/chpass.h
@@ -37,8 +37,9 @@
struct passwd;
typedef struct _entry {
- char *prompt;
- int (*func)(), restricted, len;
+ const char *prompt;
+ int (*func)(char *, struct passwd *, struct _entry *);
+ int restricted, len;
char *except, *save;
} ENTRY;