summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:06 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:06 +0000
commit143d5e1dd70c5dde97329ef89ad5f7f2d33acf1a (patch)
treeeadcd9521b0958095f641bb77c38a433d3f39c12
parent3521a5962606aaf6c32475222319a9b06252819d (diff)
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
-rw-r--r--dpms.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/dpms.h b/dpms.h
index 4f1d70f..7555f4a 100644
--- a/dpms.h
+++ b/dpms.h
@@ -28,6 +28,9 @@ Equipment Corporation.
******************************************************************/
/* $XFree86: xc/include/extensions/dpms.h,v 3.4 2000/03/15 16:51:51 tsi Exp $ */
+#ifndef _X11_EXTENSIONS_DPMS_H
+#define _X11_EXTENSIONS_DPMS_H 1
+
/*
* HISTORY
*/
@@ -46,6 +49,8 @@ Equipment Corporation.
#include <X11/X.h>
#include <X11/Xmd.h>
+_XFUNCPROTOBEGIN
+
extern Bool DPMSQueryExtension(Display *, int *, int *);
extern Status DPMSGetVersion(Display *, int *, int *);
extern Bool DPMSCapable(Display *);
@@ -55,6 +60,8 @@ extern Status DPMSEnable(Display *);
extern Status DPMSDisable(Display *);
extern Status DPMSForceLevel(Display *, CARD16);
extern Status DPMSInfo(Display *, CARD16 *, BOOL *);
-#endif
+_XFUNCPROTOEND
+#endif /* !DPMS_SERVER */
+#endif /* !_X11_EXTENSIONS_DPMS_H */