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 38367dc7327cd626
parent 3835 84aa539627c8
child 3837 7c9663fb0860
Patched to build on pre-C99 compilers.
test/testaudioinfo.c
     1.1 --- a/test/testaudioinfo.c	Sun Oct 08 00:05:22 2006 +0000
     1.2 +++ b/test/testaudioinfo.c	Sun Oct 08 00:55:30 2006 +0000
     1.3 @@ -28,8 +28,8 @@
     1.4      if (n == 0) {
     1.5          printf("No built-in audio drivers\n\n");
     1.6      } else {
     1.7 +        int i;
     1.8          printf("Built-in audio drivers:\n");
     1.9 -        int i;
    1.10          for (i = 0; i < n; ++i) {
    1.11              printf("  %s\n", SDL_GetAudioDriver(i));
    1.12          }