summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc/xf86DDC.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/ddc/xf86DDC.h')
-rw-r--r--hw/xfree86/ddc/xf86DDC.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xfree86/ddc/xf86DDC.h b/hw/xfree86/ddc/xf86DDC.h
index ae2e26641..3d94fd976 100644
--- a/hw/xfree86/ddc/xf86DDC.h
+++ b/hw/xfree86/ddc/xf86DDC.h
@@ -24,9 +24,11 @@ typedef enum {
DDC_FAST
} xf86ddcSpeed;
+typedef void (* DDC1SetSpeedProc)(ScrnInfoPtr, xf86ddcSpeed);
+
extern xf86MonPtr xf86DoEDID_DDC1(
int scrnIndex,
- void (*DDC1SetSpeed)(ScrnInfoPtr, xf86ddcSpeed),
+ DDC1SetSpeedProc DDC1SetSpeed,
unsigned int (*DDC1Read)(ScrnInfoPtr)
);