Bugzilla bug 94685: added 'const' to eliminate compiler warning.

Modified files: install.c instsec.c
This commit is contained in:
wtc%netscape.com 2001-08-23 00:10:00 +00:00
parent 7805adb04c
commit f148c6831a
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ extern /*"C"*/
short Pk11Install_UserVerifyJar(JAR *jar, PRFileDesc *out,
PRBool query);
extern /*"C"*/
char* mySECU_ErrorString(int16);
const char* mySECU_ErrorString(int16);
extern
int Pk11Install_yyparse();

View File

@ -172,7 +172,7 @@ PR_fgets(char *buf, int size, PRFileDesc *file)
* m y S E C U _ E r r o r S t r i n g
*
*/
char* mySECU_ErrorString(int16 errnum)
const char* mySECU_ErrorString(int16 errnum)
{
return SECU_Strerror(errnum);
}