[PATCH 6/8] xvmc: Use RESTYPE consistently

Adam Jackson ajax at redhat.com
Mon Mar 7 08:28:16 PST 2011


Also mark these static since they're not used externally.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 Xext/xvmc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Xext/xvmc.c b/Xext/xvmc.c
index 8fbdfae..4d29941 100644
--- a/Xext/xvmc.c
+++ b/Xext/xvmc.c
@@ -42,9 +42,9 @@ unsigned long XvMCGeneration = 0;
 int XvMCReqCode;
 int XvMCEventBase;
 
-unsigned long XvMCRTContext;
-unsigned long XvMCRTSurface;
-unsigned long XvMCRTSubpicture;
+static RESTYPE XvMCRTContext;
+static RESTYPE XvMCRTSurface;
+static RESTYPE XvMCRTSubpicture;
 
 typedef struct {
    int num_adaptors;
-- 
1.7.3.5



More information about the xorg-devel mailing list