# HG changeset patch # User zas_ # Date 1210319178 0 # Node ID 33a375d1618153fff1b36c1715bd6753fb4c19f8 # Parent b690cecbf5b848ad9b67c326518ebcb33c68aea2 Make lirc_cleanup() and lirc_input_callback() static. diff -r b690cecbf5b8 -r 33a375d16181 src/lirc.c --- a/src/lirc.c Fri May 09 07:32:30 2008 +0000 +++ b/src/lirc.c Fri May 09 07:46:18 2008 +0000 @@ -16,7 +16,7 @@ *----------------------------------------------------------------------------- */ -void lirc_cleanup(void) +static void lirc_cleanup(void) { if (config) { @@ -36,8 +36,8 @@ } } -gboolean lirc_input_callback(GIOChannel *source, GIOCondition condition, - gpointer data) +static gboolean lirc_input_callback(GIOChannel *source, GIOCondition condition, + gpointer data) { LayoutWindow *lw = data; gchar *ptr; @@ -173,7 +173,7 @@ free(code); if (ret == -1) break; } - if (x != 0 || y!= 0) + if (x != 0 || y != 0) { layout_image_scroll(lw, x, y); }