diff options
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -129,7 +129,7 @@ cli_read(char* buf, int size, int echo) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | static int | 131 | static int |
132 | cli_write(char* buf, int size) | 132 | cli_write(const char* buf, int size) |
133 | { | 133 | { |
134 | int i, len, pos, ret = 0; | 134 | int i, len, pos, ret = 0; |
135 | char *output, *p; | 135 | char *output, *p; |
@@ -161,7 +161,7 @@ cli_write(char* buf, int size) | |||
161 | * buffer is storing the response. | 161 | * buffer is storing the response. |
162 | */ | 162 | */ |
163 | char* | 163 | char* |
164 | cli_read_passphrase(char* prompt, int from_stdin, int echo_enable) | 164 | cli_read_passphrase(const char* prompt, int from_stdin, int echo_enable) |
165 | { | 165 | { |
166 | char buf[BUFSIZ]; | 166 | char buf[BUFSIZ]; |
167 | char* p; | 167 | char* p; |