changeset 610:33a375d16181

Make lirc_cleanup() and lirc_input_callback() static.
author zas_
date Fri, 09 May 2008 07:46:18 +0000
parents b690cecbf5b8
children f31ae0d9e163
files src/lirc.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
 		}