Fix more compiler warnings diff -X dontdiff -urNp tunesbrowser-0.1.7-pre2/audioplayer.c tunesbrowser-dsd/audioplayer.c --- tunesbrowser-0.1.7-pre2/audioplayer.c 2004-12-11 04:05:12.759251528 +0000 +++ tunesbrowser-dsd/audioplayer.c 2004-12-11 04:08:34.810535064 +0000 @@ -80,7 +80,7 @@ async_cmd_queue *pending_async_cmds_head async_cmd_queue *pending_async_cmds_tail = NULL; GMutex *pending_async_cmds_lock; -static char *get_state_str(GstElementState state) +UNUSED static char *get_state_str(GstElementState state) { switch (state) { diff -X dontdiff -urNp tunesbrowser-0.1.7-pre2/main.c tunesbrowser-dsd/main.c --- tunesbrowser-0.1.7-pre2/main.c 2004-12-11 04:05:12.760251376 +0000 +++ tunesbrowser-dsd/main.c 2004-12-11 04:08:44.745024792 +0000 @@ -63,11 +63,11 @@ static void install_sighandlers() struct sigaction sa; int ret; - sa.sa_handler = sighandler_sigsegv; + sa.sa_handler = (void*) sighandler_sigsegv; sa.sa_flags = SA_NOMASK | SA_SIGINFO; ret = sigaction(SIGSEGV, &sa, NULL); - sa.sa_handler = sighandler_sigpipe; + sa.sa_handler = (void*) sighandler_sigpipe; sa.sa_flags = SA_NOMASK | SA_SIGINFO; ret = sigaction(SIGPIPE, &sa, NULL); } diff -X dontdiff -urNp tunesbrowser-0.1.7-pre2/tunesbrowser.h tunesbrowser-dsd/tunesbrowser.h --- tunesbrowser-0.1.7-pre2/tunesbrowser.h 2004-12-11 04:05:12.762251072 +0000 +++ tunesbrowser-dsd/tunesbrowser.h 2004-12-11 04:09:42.843192528 +0000 @@ -52,6 +52,8 @@ void audioplayer_pause(); void audioplayer_resume(); void audioplayer_stop(); +void misc_ui_init(GladeXML *xml); + /* misc_ui */ enum songstatus