The unified diff between revisions [4839c414..] and [9cb69bf6..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/mouse.c'

#
# old_revision [4839c414876f813b3873cc350a8e42d6c01957fc]
# new_revision [9cb69bf681632171c5140ab3801212de4c31e6b2]
#
# patch "src/lsi/mouse.c"
#  from [c096818b43c9e38bc12de94291b888582fa7bcec]
#    to [d0ae140c88791f0131a6ddef426113cde6f3955b]
#
============================================================
--- src/lsi/mouse.c	c096818b43c9e38bc12de94291b888582fa7bcec
+++ src/lsi/mouse.c	d0ae140c88791f0131a6ddef426113cde6f3955b
@@ -50,7 +50,7 @@ int mouse_x, mouse_y, mouse_z;
 int mouse_initialised = 0;
 int mouse_x, mouse_y, mouse_z;
 
-void mouse_init(void)
+int mouse_init(void)
 {
 	mouse_fd = open(MOUSEDEVICE, O_RDONLY);
 	if (mouse_fd < 0)
@@ -61,6 +61,8 @@ void mouse_init(void)
 	mouse_x = 0;
 	mouse_y = 0;
 	mouse_z = 0;
+
+	return 1;
 }
 
 void mouse_close(void)