summaryrefslogtreecommitdiff
path: root/miext/shadow
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-08-03 09:33:54 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-08-03 09:33:54 +0000
commitdefcfe3c7ee3e39ef02da08b7227b758dbede325 (patch)
treea8d28c7c87f9e4e6dbc63eda49aaf239de287920 /miext/shadow
parente6d0b18c24f7f84aabed763be1cc8414883fab95 (diff)
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.
Diffstat (limited to 'miext/shadow')
-rw-r--r--miext/shadow/shadow.h10
-rw-r--r--miext/shadow/shpacked.c2
-rw-r--r--miext/shadow/shplanar.c4
-rw-r--r--miext/shadow/shrotate.c2
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;
}