From b0407fc670012c2f299978ad9e971697437fd006 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 9 Feb 2001 02:23:10 +0000 Subject: [PATCH] - (bal) Missing 'const' in readpass.h --- ChangeLog | 3 ++- readpass.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe8c42829..383760849 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ - more strict prototypes, include necessary headers - use paths.h/pathnames.h decls - size_t typecase to int -> u_long + - (bal) Missing 'const' in readpass.h 20010208 - (djm) Don't delete external askpass program in make uninstall target. @@ -3684,4 +3685,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.705 2001/02/09 02:11:24 mouring Exp $ +$Id: ChangeLog,v 1.706 2001/02/09 02:23:10 mouring Exp $ diff --git a/readpass.h b/readpass.h index d8da448a7..38d11af6b 100644 --- a/readpass.h +++ b/readpass.h @@ -17,4 +17,4 @@ * passphrase (allocated with xmalloc). Exits if EOF is encountered. If * from_stdin is true, the passphrase will be read from stdin instead. */ -char *read_passphrase(char *prompt, int from_stdin); +char *read_passphrase(const char *prompt, int from_stdin);