Fix regression with stdarg dspwrappers.
[gnushogi.git] / gnushogi / rawdsp.c
index 08ef9d3..0edfafd 100644 (file)
@@ -123,23 +123,17 @@ Raw_ShowMessage(char *s)
 
 
 void
-Raw_AlwaysShowMessage(const char *format, ...)
+Raw_AlwaysShowMessage(const char *format, va_list ap)
 {
-    va_list ap;
-    va_start(ap, format);
     vprintf(format, ap);
-    va_end(ap);
     printf("\n");
 }
 
 
 void
-Raw_Printf(const char *format, ...)
+Raw_Printf(const char *format, va_list ap)
 {
-    va_list ap;
-    va_start(ap, format);
     vprintf(format, ap);
-    va_end(ap);
 }
 
 
@@ -472,7 +466,7 @@ Raw_EditBoard(void)
  * first line. White pieces are  represented  by  uppercase characters.
  */
 void
-SetupBoard(void)
+Raw_SetupBoard(void)
 {
     short r, c, sq, i;
     char ch;
@@ -1041,13 +1035,5 @@ Raw_ElapsedTime(ElapsedTime_mode iop)
 
             time0 = current_time;
         }
-
-        if (!NOT_CURSES)
-        {
-#ifdef QUIETBACKGROUND
-            if (!background)
-#endif
-                UpdateClocks();
-        }
     }
 }