From f1955020643ec51d461820caef04e75441b5ebce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Aug 2001 08:27:07 +0000 Subject: added const to the prompt char * in the proto --- lib/getpass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3