--- a/include/SDL_cdrom.h Mon May 29 03:53:21 2006 +0000
+++ b/include/SDL_cdrom.h Mon May 29 04:04:35 2006 +0000
@@ -104,7 +104,7 @@
/* Returns the number of CD-ROM drives on the system, or -1 if
SDL_Init() has not been called with the SDL_INIT_CDROM flag.
*/
-extern DECLSPEC int SDLCALL SDL_CDNumDrives (void);
+extern DECLSPEC int SDLCALL SDL_CDNumDrives(void);
/* Returns a human-readable, system-dependent identifier for the CD-ROM.
Example:
@@ -112,7 +112,7 @@
"E:"
"/dev/disk/ide/1/master"
*/
-extern DECLSPEC const char *SDLCALL SDL_CDName (int drive);
+extern DECLSPEC const char *SDLCALL SDL_CDName(int drive);
/* Opens a CD-ROM drive for access. It returns a drive handle on success,
or NULL if the drive was invalid or busy. This newly opened CD-ROM
@@ -120,13 +120,13 @@
CD-ROM handle.
Drives are numbered starting with 0. Drive 0 is the system default CD-ROM.
*/
-extern DECLSPEC SDL_CD *SDLCALL SDL_CDOpen (int drive);
+extern DECLSPEC SDL_CD *SDLCALL SDL_CDOpen(int drive);
/* This function returns the current status of the given drive.
If the drive has a CD in it, the table of contents of the CD and current
play position of the CD will be stored in the SDL_CD structure.
*/
-extern DECLSPEC CDstatus SDLCALL SDL_CDStatus (SDL_CD * cdrom);
+extern DECLSPEC CDstatus SDLCALL SDL_CDStatus(SDL_CD * cdrom);
/* Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks'
tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play
@@ -147,31 +147,30 @@
This function returns 0, or -1 if there was an error.
*/
-extern DECLSPEC int SDLCALL SDL_CDPlayTracks (SDL_CD * cdrom,
- int start_track,
- int start_frame, int ntracks,
- int nframes);
+extern DECLSPEC int SDLCALL SDL_CDPlayTracks(SDL_CD * cdrom,
+ int start_track,
+ int start_frame, int ntracks,
+ int nframes);
/* Play the given CD starting at 'start' frame for 'length' frames.
It returns 0, or -1 if there was an error.
*/
-extern DECLSPEC int SDLCALL SDL_CDPlay (SDL_CD * cdrom, int start,
- int length);
+extern DECLSPEC int SDLCALL SDL_CDPlay(SDL_CD * cdrom, int start, int length);
/* Pause play -- returns 0, or -1 on error */
-extern DECLSPEC int SDLCALL SDL_CDPause (SDL_CD * cdrom);
+extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD * cdrom);
/* Resume play -- returns 0, or -1 on error */
-extern DECLSPEC int SDLCALL SDL_CDResume (SDL_CD * cdrom);
+extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD * cdrom);
/* Stop play -- returns 0, or -1 on error */
-extern DECLSPEC int SDLCALL SDL_CDStop (SDL_CD * cdrom);
+extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD * cdrom);
/* Eject CD-ROM -- returns 0, or -1 on error */
-extern DECLSPEC int SDLCALL SDL_CDEject (SDL_CD * cdrom);
+extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD * cdrom);
/* Closes the handle for the CD-ROM drive */
-extern DECLSPEC void SDLCALL SDL_CDClose (SDL_CD * cdrom);
+extern DECLSPEC void SDLCALL SDL_CDClose(SDL_CD * cdrom);
/* Ends C function definitions when using C++ */