From: Daniel Stenberg Date: Tue, 14 Aug 2001 08:27:07 +0000 (+0000) Subject: added const to the prompt char * in the proto X-Git-Tag: curl-7_8_1~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1955020643ec51d461820caef04e75441b5ebce;p=curl added const to the prompt char * in the proto --- 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