summaryrefslogtreecommitdiff
path: root/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync.h')
-rw-r--r--sync.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sync.h b/sync.h
index d4b8108..e2f9fe6 100644
--- a/sync.h
+++ b/sync.h
@@ -48,10 +48,15 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
+/* $XFree86: xc/include/extensions/sync.h,v 1.4 2001/12/20 19:40:59 tsi Exp $ */
#ifndef _SYNC_H_
#define _SYNC_H_
+#include <X11/Xfuncproto.h>
+
+_XFUNCPROTOBEGIN
+
#define SYNC_NAME "SYNC"
#define SYNC_MAJOR_VERSION 3
@@ -243,6 +248,8 @@ extern void XSyncMinValue(
#endif
);
+_XFUNCPROTOEND
+
/* The _XSync macros below are for library internal use only. They exist
* so that if we have to make a fix, we can change it in this one place
* and have both the macro and function variants inherit the fix.
@@ -394,6 +401,8 @@ typedef struct {
* Prototypes
*/
+_XFUNCPROTOBEGIN
+
extern Status XSyncQueryExtension(
#if NeedFunctionPrototypes
Display* /*dpy*/,
@@ -519,4 +528,6 @@ extern Status XSyncGetPriority(
#endif /* _SYNC_SERVER */
+_XFUNCPROTOEND
+
#endif /* _SYNC_H_ */