Index: makefile.mes =================================================================== --- makefile.mes (revision 128) +++ makefile.mes (working copy) @@ -260,7 +260,6 @@ -Wformat-security \ -Wwrite-strings \ -Wdeclaration-after-statement \ - -Wno-unused-functions \ ifneq ($(OPTIMIZE),0) CFLAGS += -Werror -DNDEBUG $(ARCH) -fno-strict-aliasing Index: makefile.sdl =================================================================== --- makefile.sdl (revision 128) +++ makefile.sdl (working copy) @@ -78,7 +78,7 @@ # ATHLON = 1 # I686 = 1 # P4 = 1 -PM = 1 +# PM = 1 # AMD64 = 1 # G4 = 1 # G5 = 1 @@ -185,6 +185,8 @@ # form the name of the executable #------------------------------------------------- +PREFIX = sdl + # check if this is MESS ifeq ($(TARGET),mess) MESS=1 Index: src/mess/tools/imgtool/mac.c =================================================================== --- src/mess/tools/imgtool/mac.c (revision 128) +++ src/mess/tools/imgtool/mac.c (working copy) @@ -5239,7 +5239,6 @@ static void mac_image_info(imgtool_image *img, char *string, size_t len); static imgtoolerr_t mac_image_beginenum(imgtool_directory *enumeration, const char *path); static imgtoolerr_t mac_image_nextenum(imgtool_directory *enumeration, imgtool_dirent *ent); -static void mac_image_closeenum(imgtool_directory *enumeration); static imgtoolerr_t mac_image_freespace(imgtool_partition *partition, UINT64 *size); static imgtoolerr_t mac_image_readfile(imgtool_partition *partition, const char *filename, const char *fork, imgtool_stream *destf); static imgtoolerr_t mac_image_writefile(imgtool_partition *partition, const char *filename, const char *fork, imgtool_stream *sourcef, option_resolution *writeoptions); Index: src/osd/sdl/config.c =================================================================== --- src/osd/sdl/config.c (revision 128) +++ src/osd/sdl/config.c (working copy) @@ -74,8 +74,6 @@ static void execute_simple_commands(void); static void execute_commands(const char *argv0); static void display_help(void); -static void setup_playback(const char *filename, const game_driver *driver); -static void setup_record(const char *filename, const game_driver *driver); static char *extract_base_name(const char *name, char *dest, int destsize); static char *extract_path(const char *name, char *dest, int destsize); Index: src/osd/sdl/drawsdl.c =================================================================== --- src/osd/sdl/drawsdl.c (revision 128) +++ src/osd/sdl/drawsdl.c (working copy) @@ -180,8 +180,6 @@ #endif // YUV overlays - -void yuv_lookup_init(sdl_window_info *window); static void yuv_RGB_to_YV12(UINT16 *bitmap, int bw, sdl_window_info *window); static void yuv_RGB_to_YV12X2(UINT16 *bitmap, int bw, sdl_window_info *window); static void yuv_RGB_to_YUY2(UINT16 *bitmap, int bw, sdl_window_info *window); Index: src/osd/sdl/window.c =================================================================== --- src/osd/sdl/window.c (revision 128) +++ src/osd/sdl/window.c (working copy) @@ -43,6 +43,7 @@ extern int drawsdl_init(sdl_draw_callbacks *callbacks); extern int drawogl_init(sdl_draw_callbacks *callbacks); +extern void yuv_lookup_init(sdl_window_info *window); //============================================================ // PARAMETERS @@ -110,7 +111,6 @@ //============================================================ // event handling -static osd_ticks_t last_event_check; static int multithreading_enabled; static osd_work_queue *work_queue; static int main_threadid; Index: src/osd/windows/config.c =================================================================== --- src/osd/windows/config.c (revision 128) +++ src/osd/windows/config.c (working copy) @@ -60,8 +60,6 @@ static void execute_simple_commands(void); static void execute_commands(const char *argv0); static void display_help(void); -static void setup_playback(const char *filename, const game_driver *driver); -static void setup_record(const char *filename, const game_driver *driver); static char *extract_base_name(const char *name, char *dest, int destsize); static char *extract_path(const char *name, char *dest, int destsize);