]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
play silence during timedemos
[xonotic/darkplaces.git] / prvm_exec.c
index 624a797a5e7f19e69759ed267f011154638011b8..af50433f66c17ab2baf658110a3bf37cd9606b3b 100644 (file)
@@ -276,7 +276,7 @@ void PRVM_ShortStackTrace(char *buf, size_t bufsize)
        }
        else
        {
-               strlcpy(buf, "<NO PROG>", sizeof(buf));
+               strlcpy(buf, "<NO PROG>", bufsize);
                return;
        }
 
@@ -297,7 +297,7 @@ void PRVM_ShortStackTrace(char *buf, size_t bufsize)
 }
 
 
-void PRVM_CallProfile ()
+void PRVM_CallProfile (void)
 {
        mfunction_t *f, *best;
        int i;
@@ -424,7 +424,7 @@ void PRVM_Profile_f (void)
        PRVM_End;
 }
 
-void PRVM_CrashAll()
+void PRVM_CrashAll(void)
 {
        int i;
        prvm_prog_t *oldprog = prog;