comparison test/testcdrom.c @ 1484:b2b476a4a73c

Added documentation on how to build a completely useless SDL library. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 08 Mar 2006 08:30:17 +0000
parents d93862a3d821
children 782fd950bd46 c121d94672cb
comparison
equal deleted inserted replaced
1483:52a61c7b323b 1484:b2b476a4a73c
1 1
2 /* Test the SDL CD-ROM audio functions */ 2 /* Test the SDL CD-ROM audio functions */
3 3
4 #include <stdlib.h> 4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <string.h>
5 #include <ctype.h> 7 #include <ctype.h>
6 #include <stdlib.h>
7 #include <string.h>
8 8
9 #include "SDL.h" 9 #include "SDL.h"
10 10
11 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ 11 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
12 static void quit(int rc) 12 static void quit(int rc)