}
else
{
- strlcpy(buf, "<NO PROG>", sizeof(buf));
+ strlcpy(buf, "<NO PROG>", bufsize);
return;
}
}
-void PRVM_CallProfile ()
+void PRVM_CallProfile (void)
{
mfunction_t *f, *best;
int i;
PRVM_End;
}
-void PRVM_CrashAll()
+void PRVM_CrashAll(void)
{
int i;
prvm_prog_t *oldprog = prog;
void PRVM_PrintState(void)
{
int i;
+ if(prog->statestring)
+ {
+ Con_Printf("Caller-provided information: %s\n", prog->statestring);
+ }
if (prog->xfunction)
{
for (i = -7; i <= 0;i++)
}
}
}
-#undef PRVMRUNAWAYCHECK 1
+#undef PRVMRUNAWAYCHECK
}
else
{