diff options
Diffstat (limited to 'miext')
-rw-r--r-- | miext/shadow/shadow.h | 10 | ||||
-rw-r--r-- | miext/shadow/shpacked.c | 2 | ||||
-rw-r--r-- | miext/shadow/shplanar.c | 4 | ||||
-rw-r--r-- | miext/shadow/shrotate.c | 2 |
4 files changed, 9 insertions, 9 deletions
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; } |