[PATCH] Remove stray semi-colon in protocol-common.c

Alan Coopersmith alan.coopersmith at sun.com
Tue Sep 15 13:54:50 PDT 2009


Caused Sun compilers to issue warning:
"protocol-common.c", line 141: warning: syntax error:  empty declaration

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
---
 test/xi2/protocol-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
index 2d0bc36..2dff1ad 100644
--- a/test/xi2/protocol-common.c
+++ b/test/xi2/protocol-common.c
@@ -138,7 +138,7 @@ void init_window(WindowPtr window, WindowPtr parent, int id)
 
 /* Needed for the screen setup, otherwise we crash during sprite initialization */
 static Bool device_cursor_init(DeviceIntPtr dev, ScreenPtr screen) { return TRUE; }
-static Bool set_cursor_pos(DeviceIntPtr dev, ScreenPtr screen, int x, int y, Bool event) { return TRUE; };
+static Bool set_cursor_pos(DeviceIntPtr dev, ScreenPtr screen, int x, int y, Bool event) { return TRUE; }
 void init_simple(void)
 {
     screenInfo.arraySize = MAXSCREENS;
-- 
1.5.6.5



More information about the xorg-devel mailing list