Mercurial > audlegacy-plugins
changeset 2230:581a057768c2
eliminate warnings.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 15 Dec 2007 00:19:07 +0900 |
parents | 33ffac81f4c7 |
children | a8471cee0697 |
files | src/evdev-plug/ed_bindings_store.c src/evdev-plug/ed_bindings_store.h src/evdev-plug/ed_internals.c src/evdev-plug/ed_internals.h src/scrobbler/fmt.c |
diffstat | 5 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/evdev-plug/ed_bindings_store.c Sat Dec 15 00:03:37 2007 +0900 +++ b/src/evdev-plug/ed_bindings_store.c Sat Dec 15 00:19:07 2007 +0900 @@ -82,7 +82,7 @@ return; } -gint +void ed_bindings_store_foreach ( gpointer hashtable_gp , ed_bindings_store_foreach_func callback , gpointer user_data1 ,
--- a/src/evdev-plug/ed_bindings_store.h Sat Dec 15 00:03:37 2007 +0900 +++ b/src/evdev-plug/ed_bindings_store.h Sat Dec 15 00:19:07 2007 +0900 @@ -29,7 +29,7 @@ gpointer ed_bindings_store_new ( void ); gint ed_bindings_store_insert ( gpointer , ed_inputevent_t * , gint ); -gint ed_bindings_store_foreach ( gpointer , ed_bindings_store_foreach_func , gpointer , gpointer ); +void ed_bindings_store_foreach ( gpointer , ed_bindings_store_foreach_func , gpointer , gpointer ); guint ed_bindings_store_size ( gpointer ); gboolean ed_bindings_store_lookup( gpointer , ed_inputevent_t * , gint * ); gint ed_bindings_store_delete ( gpointer );
--- a/src/evdev-plug/ed_internals.c Sat Dec 15 00:03:37 2007 +0900 +++ b/src/evdev-plug/ed_internals.c Sat Dec 15 00:19:07 2007 +0900 @@ -38,7 +38,8 @@ #include <stdarg.h> #include <audacious/i18n.h> - +#include <glib.h> +#include <glib/gstdio.h> static gboolean ed_device_giofunc ( GIOChannel * , GIOCondition , gpointer ); @@ -240,7 +241,7 @@ } -gint +void ed_device_stop_listening_all ( gboolean delete_bindings ) { /* convenience function that stops listening for all
--- a/src/evdev-plug/ed_internals.h Sat Dec 15 00:03:37 2007 +0900 +++ b/src/evdev-plug/ed_internals.h Sat Dec 15 00:19:07 2007 +0900 @@ -48,7 +48,7 @@ void ed_device_start_listening_from_config ( void ); gint ed_device_stop_listening ( ed_device_t * ); gint ed_device_stop_listening_from_info ( ed_device_info_t * ); -gint ed_device_stop_listening_all ( gboolean ); +void ed_device_stop_listening_all ( gboolean ); gboolean ed_device_check_listening_from_info ( ed_device_info_t * ); gboolean ed_inputevent_check_equality( ed_inputevent_t * , ed_inputevent_t * );