summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-07 23:41:09 +0000
committerdarkvater <darkvater@openttd.org>2004-09-07 23:41:09 +0000
commitdebb158c95f7a75f584501adf3311baa1150ee6d (patch)
tree571bd3000679983a2253f393032ac7ab8bbd4795 /unix.c
parentd037ee4c925b7d525fc479846d0847e43592f310 (diff)
downloadopenttd-debb158c95f7a75f584501adf3311baa1150ee6d.tar.xz
(svn r180) -Fix: some more warning fixes for C99 (Tron)
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/unix.c b/unix.c
index 90663f72d..f9f7eeccd 100644
--- a/unix.c
+++ b/unix.c
@@ -318,19 +318,19 @@ void FiosDelete(const char *name)
}
const DriverDesc _video_driver_descs[] = {
- {"null", "Null Video Driver", &_null_video_driver, 0},
+ {"null", "Null Video Driver", &_null_video_driver, 0},
#if defined(WITH_SDL)
- {"sdl", "SDL Video Driver", &_sdl_video_driver, 1},
+ { "sdl", "SDL Video Driver", &_sdl_video_driver, 1},
#endif
- {NULL}
+ { NULL, NULL, NULL, 0}
};
const DriverDesc _sound_driver_descs[] = {
- {"null", "Null Sound Driver", &_null_sound_driver, 0},
+ {"null", "Null Sound Driver", &_null_sound_driver, 0},
#if defined(WITH_SDL)
- {"sdl", "SDL Sound Driver", &_sdl_sound_driver, 1},
+ { "sdl", "SDL Sound Driver", &_sdl_sound_driver, 1},
#endif
- {NULL}
+ { NULL, NULL, NULL, 0}
};
#if defined(__APPLE__)
@@ -343,14 +343,14 @@ const DriverDesc _music_driver_descs[] = {
#ifndef __BEOS__
#ifndef __MORPHOS__
// MorphOS have no music support
- {"extmidi", "External MIDI Driver", &_extmidi_music_driver, EXTMIDI_PRI},
+ {"extmidi", "External MIDI Driver", &_extmidi_music_driver, EXTMIDI_PRI},
#endif
#endif
#ifdef __BEOS__
- {"bemidi", "BeOS MIDI Driver", &_bemidi_music_driver, 1},
+ { "bemidi", "BeOS MIDI Driver", &_bemidi_music_driver, 1},
#endif
- {"null", "Null Music Driver", &_null_music_driver, 1},
- {NULL}
+ { "null", "Null Music Driver", &_null_music_driver, 1},
+ { NULL, NULL, NULL, 0}
};
bool FileExists(const char *filename)