From 0ebc6e55cbaf3425a04984c83a708a15018793e0 Mon Sep 17 00:00:00 2001 Message-Id: <0ebc6e55cbaf3425a04984c83a708a15018793e0.1226931512.git.jon.turney@dronecode.org.uk> In-Reply-To: References: From: Jon TURNEY Date: Sun, 2 Nov 2008 18:27:15 +0000 Subject: [PATCH 07/32] Cygwin: update to use standard DPMS stubs Signed-off-by: Jon TURNEY --- hw/xwin/InitOutput.c | 17 ----------------- hw/xwin/Makefile.am | 1 + 2 files changed, 1 insertions(+), 17 deletions(-) diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOutput.c index abc35b9..291593b 100644 --- a/hw/xwin/InitOutput.c +++ b/hw/xwin/InitOutput.c @@ -1120,20 +1120,3 @@ winCheckDisplayNumber () return TRUE; } - -#ifdef DPMSExtension -Bool DPMSSupported(void) -{ - return FALSE; -} - -void DPMSSet(int level) -{ - return; -} - -int DPMSGet(int *plevel) -{ - return 0; -} -#endif diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am index 3c6b963..504c2a6 100644 --- a/hw/xwin/Makefile.am +++ b/hw/xwin/Makefile.am @@ -120,6 +120,7 @@ SRCS = InitInput.c \ winresource.h \ winwindow.h \ XWin.rc \ + $(top_srcdir)/Xext/dpmsstubs.c \ $(top_srcdir)/Xi/stubs.c \ $(top_srcdir)/mi/miinitext.c \ $(top_srcdir)/fb/fbcmap_mi.c \ -- 1.6.0.2