diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-28 16:25:23 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-08 13:19:40 -0500 |
commit | 9a6a9971b03381b7c44257284edecdfa0135957f (patch) | |
tree | 2fe899fbf649bf4b91f915057fc0d3d138af4afb /Xext | |
parent | fddfd026a0e4a8190dc01fb0f38af4b2c29b63a3 (diff) |
xv: Use RESTYPE where appropriate
No functional change.
Reviewed-by: Soren Sandmann <ssp@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xvdix.h | 12 | ||||
-rw-r--r-- | Xext/xvmain.c | 14 |
2 files changed, 12 insertions, 14 deletions
diff --git a/Xext/xvdix.h b/Xext/xvdix.h index a2106150e..e9c22bf65 100644 --- a/Xext/xvdix.h +++ b/Xext/xvdix.h @@ -64,12 +64,12 @@ extern _X_EXPORT int XvReqCode; extern _X_EXPORT int XvEventBase; extern _X_EXPORT int XvErrorBase; -extern _X_EXPORT unsigned long XvRTPort; -extern _X_EXPORT unsigned long XvRTEncoding; -extern _X_EXPORT unsigned long XvRTGrab; -extern _X_EXPORT unsigned long XvRTVideoNotify; -extern _X_EXPORT unsigned long XvRTVideoNotifyList; -extern _X_EXPORT unsigned long XvRTPortNotify; +extern _X_EXPORT RESTYPE XvRTPort; +extern _X_EXPORT RESTYPE XvRTEncoding; +extern _X_EXPORT RESTYPE XvRTGrab; +extern _X_EXPORT RESTYPE XvRTVideoNotify; +extern _X_EXPORT RESTYPE XvRTVideoNotifyList; +extern _X_EXPORT RESTYPE XvRTPortNotify; #endif typedef struct { diff --git a/Xext/xvmain.c b/Xext/xvmain.c index 12b4c5184..cd6f0979c 100644 --- a/Xext/xvmain.c +++ b/Xext/xvmain.c @@ -115,14 +115,12 @@ int XvReqCode; int XvEventBase; int XvErrorBase; -unsigned long XvRTPort; -unsigned long XvRTEncoding; -unsigned long XvRTGrab; -unsigned long XvRTVideoNotify; -unsigned long XvRTVideoNotifyList; -unsigned long XvRTPortNotify; - - +RESTYPE XvRTPort; +RESTYPE XvRTEncoding; +RESTYPE XvRTGrab; +RESTYPE XvRTVideoNotify; +RESTYPE XvRTVideoNotifyList; +RESTYPE XvRTPortNotify; /* EXTERNAL */ |