diff options
author | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
commit | 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /music | |
parent | 01638700067b9720c187598ad6b4bf786e0e63c1 (diff) | |
download | openttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz |
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
Diffstat (limited to 'music')
-rw-r--r-- | music/os2_m.c | 1 | ||||
-rw-r--r-- | music/qtmidi.c | 2 | ||||
-rw-r--r-- | music/qtmidi.h | 1 | ||||
-rw-r--r-- | music/win32_m.c | 3 |
4 files changed, 2 insertions, 5 deletions
diff --git a/music/os2_m.c b/music/os2_m.c index ef2559260..75df60c8d 100644 --- a/music/os2_m.c +++ b/music/os2_m.c @@ -75,4 +75,3 @@ const HalMusicDriver _os2_music_driver = { OS2MidiIsSongPlaying, OS2MidiSetVolume, }; - diff --git a/music/qtmidi.c b/music/qtmidi.c index be20f1cb0..b245b538d 100644 --- a/music/qtmidi.c +++ b/music/qtmidi.c @@ -375,5 +375,3 @@ const HalMusicDriver _qtime_music_driver = { SongIsPlaying, SetVolume, }; - - diff --git a/music/qtmidi.h b/music/qtmidi.h index c640ab34b..ecb7a0b19 100644 --- a/music/qtmidi.h +++ b/music/qtmidi.h @@ -12,4 +12,3 @@ extern const HalMusicDriver _qtime_music_driver; #endif /* !MUSIC_MACOSX_QUICKTIME_H */ - diff --git a/music/win32_m.c b/music/win32_m.c index 5e9dfbca9..36b79b30b 100644 --- a/music/win32_m.c +++ b/music/win32_m.c @@ -44,7 +44,8 @@ static void Win32MidiSetVolume(byte vol) SetEvent(_midi.wait_obj); } -static MCIERROR CDECL MidiSendCommand(const char *cmd, ...) { +static MCIERROR CDECL MidiSendCommand(const char* cmd, ...) +{ va_list va; char buf[512]; |