diff test/testaudioinfo.c @ 2060:866052b01ee5

indent is evil
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Oct 2006 16:48:03 +0000
parents 5f6550e5184f
children 9de326b3099c
line wrap: on
line diff
--- a/test/testaudioinfo.c	Sat Oct 28 16:41:54 2006 +0000
+++ b/test/testaudioinfo.c	Sat Oct 28 16:48:03 2006 +0000
@@ -1,6 +1,7 @@
 #include "SDL.h"
 
-static void print_devices(int iscapture)
+static void
+print_devices(int iscapture)
 {
     const char *typestr = ((iscapture) ? "capture" : "output");
     int n = SDL_GetNumAudioDevices(iscapture);
@@ -11,8 +12,7 @@
         printf("  Driver can't detect specific devices.\n\n", typestr);
     else if (n == 0)
         printf("  No %s devices found.\n\n", typestr);
-    else
-    {
+    else {
         int i;
         for (i = 0; i < n; i++) {
             printf("  %s\n", SDL_GetAudioDeviceName(i, iscapture));
@@ -21,7 +21,8 @@
     }
 }
 
-int main(int argc, char **argv)
+int
+main(int argc, char **argv)
 {
     /* Print available audio drivers */
     int n = SDL_GetNumAudioDrivers();
@@ -50,4 +51,3 @@
     SDL_Quit();
     return 0;
 }
-