diff options
author | Julien Cristau <jcristau@debian.org> | 2015-05-08 13:41:01 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2015-05-09 16:49:55 +0200 |
commit | ca1c4c19d688d215b52f4e7e2a634c0cbcfff3c1 (patch) | |
tree | b77551aaaf52fa9038fe5ac5a2f6ee19e2dc35b0 /src/smi.h | |
parent | d06454e89384957fa2b77ff35b35108dc657a510 (diff) |
Fix SwitchMode and AdjustFrame hooks
smi_driver.c: In function 'SMI_Probe':
smi_driver.c:360:24: warning: assignment from incompatible pointer type
pScrn->SwitchMode = SMI_SwitchMode;
^
smi_driver.c:361:24: warning: assignment from incompatible pointer type
pScrn->AdjustFrame = SMI_AdjustFrame;
^
Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'src/smi.h')
-rw-r--r-- | src/smi.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -390,8 +390,8 @@ Bool SMI_HWCursorInit(ScreenPtr pScrn); /* smi_driver.c */ Bool SMI_MapMem(ScrnInfoPtr pScrn); void SMI_UnmapMem(ScrnInfoPtr pScrn); -void SMI_AdjustFrame(int scrnIndex, int x, int y, int flags); -Bool SMI_SwitchMode(int scrnIndex, DisplayModePtr mode, int flags); +void SMI_AdjustFrame(ADJUST_FRAME_ARGS_DECL); +Bool SMI_SwitchMode(SWITCH_MODE_ARGS_DECL); void SMI_LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies, LOCO *colors, VisualPtr pVisual); xf86MonPtr SMI_ddc1(ScrnInfoPtr pScrn); |