From 92e78f8c6424f0d466e1df673228870ef009105b Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 17 Jan 2001 11:10:48 +1100 Subject: - (djm) Avoid warning in PAM code by making read_passphrase arguments const --- cli.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli.h') diff --git a/cli.h b/cli.h index c4194046..fbcc8796 100644 --- a/cli.h +++ b/cli.h @@ -9,7 +9,8 @@ * of response depending on arg. Tries to ensure that no other userland * buffer is storing the response. */ -char* cli_read_passphrase(char* prompt, int from_stdin, int echo_enable); +char* cli_read_passphrase(const char* prompt, int from_stdin, + int echo_enable); char* cli_prompt(char* prompt, int echo_enable); void cli_mesg(char* mesg); -- cgit v1.2.3