]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/_doprnt.c
include
[thirdparty/gcc.git] / libiberty / _doprnt.c
index ca97bc8c5d43ffb3f43f7087204d5bd9f97876c4..9723f32e6c055ebf5e27d013177be1687eff1c14 100644 (file)
@@ -222,11 +222,11 @@ static int
 checkit (const char* format, ...)
 {
   int result;
-  VA_OPEN (args, format);
-  VA_FIXEDARG (args, char *, format);
+  va_list args;
+  va_start (args, format);
 
   result = _doprnt (format, args, stdout);
-  VA_CLOSE (args);
+  va_end (args);
 
   return result;
 }