config.tests/x11/xsync/xsync.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/config.tests/x11/xsync/xsync.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/config.tests/x11/xsync/xsync.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -41,12 +41,16 @@
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
+extern "C" {
 #include <X11/extensions/sync.h>
+}
 
 int main(int, char **)
 {
     XSyncValue value;
     (void*)&XSyncIntToValue;
     (void*)&XSyncCreateCounter;
-    return 0;
+    int a, b;
+    Status ret = XSyncInitialize(NULL, &a, &b);
+    return ret;
 }