equal
deleted
inserted
replaced
39 ** |
39 ** |
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #include <X11/Xlib.h> |
42 #include <X11/Xlib.h> |
43 #include <X11/Xutil.h> |
43 #include <X11/Xutil.h> |
|
44 extern "C" { |
44 #include <X11/extensions/sync.h> |
45 #include <X11/extensions/sync.h> |
|
46 } |
45 |
47 |
46 int main(int, char **) |
48 int main(int, char **) |
47 { |
49 { |
48 XSyncValue value; |
50 XSyncValue value; |
49 (void*)&XSyncIntToValue; |
51 (void*)&XSyncIntToValue; |
50 (void*)&XSyncCreateCounter; |
52 (void*)&XSyncCreateCounter; |
51 return 0; |
53 int a, b; |
|
54 Status ret = XSyncInitialize(NULL, &a, &b); |
|
55 return ret; |
52 } |
56 } |