From defcfe3c7ee3e39ef02da08b7227b758dbede325 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 3 Aug 2004 09:33:54 +0000 Subject: programs/Xserver/hw/xfree86/ddc/xf86DDC.h programs/Xserver/hw/xfree86/vgahw/vgaHW.c programs/Xserver/hw/xfree86/vgahw/vgaHW.h programs/Xserver/miext/shadow/shadow.h programs/Xserver/miext/shadow/shpacked.c programs/Xserver/miext/shadow/shplanar.c programs/Xserver/miext/shadow/shrotate.c Fix glitches in pointer to functions declarations. --- miext/shadow/shadow.h | 10 +++++----- miext/shadow/shpacked.c | 2 +- miext/shadow/shplanar.c | 4 ++-- miext/shadow/shrotate.c | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'miext/shadow') diff --git a/miext/shadow/shadow.h b/miext/shadow/shadow.h index 7f6ceb850..d301916e4 100644 --- a/miext/shadow/shadow.h +++ b/miext/shadow/shadow.h @@ -163,12 +163,12 @@ void shadowUpdateRotate32_270 (ScreenPtr pScreen, shadowBufPtr pBuf); -typedef void * shadowUpdateProc(ScreenPtr, shadowBufPtr); +typedef void (* shadowUpdateProc)(ScreenPtr, shadowBufPtr); -shadowUpdateProc *shadowUpdatePackedWeak(void); -shadowUpdateProc *shadowUpdatePlanar4Weak(void); -shadowUpdateProc *shadowUpdatePlanar4x8Weak(void); -shadowUpdateProc *shadowUpdateRotatePackedWeak(void); +shadowUpdateProc shadowUpdatePackedWeak(void); +shadowUpdateProc shadowUpdatePlanar4Weak(void); +shadowUpdateProc shadowUpdatePlanar4x8Weak(void); +shadowUpdateProc shadowUpdateRotatePackedWeak(void); void shadowWrapGC (GCPtr pGC); diff --git a/miext/shadow/shpacked.c b/miext/shadow/shpacked.c index 08785c000..de2643e9f 100644 --- a/miext/shadow/shpacked.c +++ b/miext/shadow/shpacked.c @@ -107,4 +107,4 @@ shadowUpdatePacked (ScreenPtr pScreen, } } -shadowUpdateProc *shadowUpdatePackedWeak(void) { return shadowUpdatePacked; } +shadowUpdateProc shadowUpdatePackedWeak(void) { return shadowUpdatePacked; } diff --git a/miext/shadow/shplanar.c b/miext/shadow/shplanar.c index b5818f2bd..3b842d57b 100644 --- a/miext/shadow/shplanar.c +++ b/miext/shadow/shplanar.c @@ -166,10 +166,10 @@ shadowUpdatePlanar4 (ScreenPtr pScreen, } } -shadowUpdateProc *shadowUpdatePlanar4Weak(void) { +shadowUpdateProc shadowUpdatePlanar4Weak(void) { return shadowUpdatePlanar4; } -shadowUpdateProc *shadowUpdatePlanar4x8Weak(void) { +shadowUpdateProc shadowUpdatePlanar4x8Weak(void) { return shadowUpdatePlanar4x8; } diff --git a/miext/shadow/shrotate.c b/miext/shadow/shrotate.c index 47ead25b7..620559e69 100644 --- a/miext/shadow/shrotate.c +++ b/miext/shadow/shrotate.c @@ -305,6 +305,6 @@ shadowUpdateRotatePacked (ScreenPtr pScreen, } } -shadowUpdateProc *shadowUpdateRotatePackedWeak(void) { +shadowUpdateProc shadowUpdateRotatePackedWeak(void) { return shadowUpdateRotatePacked; } -- cgit v1.2.3