aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-14 08:27:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-14 08:27:07 +0000
commitf1955020643ec51d461820caef04e75441b5ebce (patch)
tree877eb9a72ba170f7267ef5138235993e625e048e
parent4df9d94414da9c05e52276034e1d772a94e2eb71 (diff)
added const to the prompt char * in the proto
-rw-r--r--lib/getpass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getpass.h b/lib/getpass.h
index c90780bb2..249a26ec6 100644
--- a/lib/getpass.h
+++ b/lib/getpass.h
@@ -29,7 +29,7 @@
/*
* Returning NULL will abort the continued operation!
*/
-char* getpass_r(char *prompt, char* buffer, size_t buflen );
+char* getpass_r(const char *prompt, char* buffer, size_t buflen );
#endif
#endif