summaryrefslogtreecommitdiff
path: root/cli.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
committerDamien Miller <djm@mindrot.org>2001-01-17 11:10:48 +1100
commit92e78f8c6424f0d466e1df673228870ef009105b (patch)
tree1809206c2385b1a49b459a80dba363a352effaa2 /cli.h
parenta64b57a157068c793ac7be2ad276b208a7d10a90 (diff)
- (djm) Avoid warning in PAM code by making read_passphrase arguments const
Diffstat (limited to 'cli.h')
-rw-r--r--cli.h3
1 files changed, 2 insertions, 1 deletions
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);