summaryrefslogtreecommitdiff
path: root/src/nv_proto.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
committerDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
commit713e9501b87465cf2a62c27605b6fc4a454dad95 (patch)
tree0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/nv_proto.h
parentb3d61828837661c9b383378a7d6006752659108b (diff)
nv: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/nv_proto.h')
-rw-r--r--src/nv_proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_proto.h b/src/nv_proto.h
index 142cd4c..0e9fdcc 100644
--- a/src/nv_proto.h
+++ b/src/nv_proto.h
@@ -2,8 +2,8 @@
#define __NV_PROTO_H__
/* in nv_driver.c */
-Bool NVSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
-void NVAdjustFrame(int scrnIndex, int x, int y, int flags);
+Bool NVSwitchMode(SWITCH_MODE_ARGS_DECL);
+void NVAdjustFrame(ADJUST_FRAME_ARGS_DECL);
Bool NVI2CInit(ScrnInfoPtr pScrn);
@@ -53,6 +53,6 @@ void NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
-void NVPointerMoved(int index, int x, int y);
+void NVPointerMoved(SCRN_ARG_TYPE arg, int x, int y);
#endif /* __NV_PROTO_H__ */