Fix dropping const from params

This commit is contained in:
Pasi Kallinen
2020-10-05 17:17:07 +03:00
parent 43112cec01
commit 37339abebd
2 changed files with 3 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ E void FDECL(schedule_goto, (d_level *, BOOLEAN_P, BOOLEAN_P, int,
E void NDECL(deferred_goto);
E boolean FDECL(revive_corpse, (struct obj *));
E void FDECL(revive_mon, (ANY_P *, long));
E boolean FDECL(cmd_safety_prevention, (char *, char *, int *));
E boolean FDECL(cmd_safety_prevention, (const char *, const char *, int *));
E int NDECL(donull);
E int NDECL(dowipe);
E void FDECL(legs_in_no_shape, (const char *, BOOLEAN_P));

View File

@@ -1984,8 +1984,8 @@ long timeout UNUSED;
boolean
cmd_safety_prevention(cmddesc, act, flagcounter)
char *cmddesc;
char *act;
const char *cmddesc;
const char *act;
int *flagcounter;
{
if (flags.safe_wait && !iflags.menu_requested