Patched to build on pre-C99 compilers. SDL-ryan-multiple-audio-device
authorRyan C. Gordon <icculus@icculus.org>
Sun, 08 Oct 2006 00:55:30 +0000
branchSDL-ryan-multiple-audio-device
changeset 3836 7dc7327cd626
parent 3835 84aa539627c8
child 3837 7c9663fb0860
Patched to build on pre-C99 compilers.
test/testaudioinfo.c
--- a/test/testaudioinfo.c	Sun Oct 08 00:05:22 2006 +0000
+++ b/test/testaudioinfo.c	Sun Oct 08 00:55:30 2006 +0000
@@ -28,8 +28,8 @@
     if (n == 0) {
         printf("No built-in audio drivers\n\n");
     } else {
+        int i;
         printf("Built-in audio drivers:\n");
-        int i;
         for (i = 0; i < n; ++i) {
             printf("  %s\n", SDL_GetAudioDriver(i));
         }