From 01eab7c83403b67bda60dcc42cf5fc25c46d797d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Apr 2004 22:25:03 +0000 Subject: [PATCH] move pSAREAPriv declaration to be C-compliant --- src/mesa/drivers/dri/r128/server/r128_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r128/server/r128_dri.c b/src/mesa/drivers/dri/r128/server/r128_dri.c index 3d7711e85a7..9a2505da8db 100644 --- a/src/mesa/drivers/dri/r128/server/r128_dri.c +++ b/src/mesa/drivers/dri/r128/server/r128_dri.c @@ -728,6 +728,7 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx) R128DRIPtr pR128DRI; int err, major, minor, patch; drmVersionPtr version; + drm_r128_sarea_t *pSAREAPriv; switch (ctx->bpp) { case 8: @@ -884,7 +885,6 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx) 0, info->backPitch * ctx->cpp * ctx->shared.virtualHeight ); - drm_r128_sarea_t *pSAREAPriv; pSAREAPriv = (drm_r128_sarea_t *)(((char*)ctx->pSAREA) + sizeof(drm_sarea_t)); memset(pSAREAPriv, 0, sizeof(*pSAREAPriv)); -- 2.30.2