diff src/X_main.c @ 10:7cfecdce94cc

Remove warning messages
author Thinker K.F. Li <thinker@branda.to>
date Sat, 26 Jul 2008 05:32:31 +0800
parents 6eecdd331fe7
children 128af06c876c
line wrap: on
line diff
--- a/src/X_main.c	Sat Jul 26 04:27:52 2008 +0800
+++ b/src/X_main.c	Sat Jul 26 05:32:31 2008 +0800
@@ -3,6 +3,7 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <cairo.h>
+#include <cairo-xlib.h>
 
 #include <string.h>
 #include "shapes.h"
@@ -81,4 +82,5 @@
     sleep(10);
 
     XCloseDisplay(display);
+    return 0;
 }