[PATCH] Small Xorg HEAD compile fix for gcc-3.4 snapshots
Patrick Mau
mau at oscar.ping.de
Mon Jan 24 05:22:08 PST 2005
Hello everyone,
I'd like to submit the following small patch to Xorg's HEAD branch. My
local gcc snapshot complained about "non-static following static
declaration".
I hope you don't mind the inlined patch, but it's small
Regards,
Patrick
Index: programs/Xserver/cfb/cfbgc.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/cfb/cfbgc.c,v
retrieving revision 1.3
diff -u -u -r1.3 cfbgc.c
--- programs/Xserver/cfb/cfbgc.c 14 Jan 2005 08:37:30 -0000 1.3
+++ programs/Xserver/cfb/cfbgc.c 24 Jan 2005 13:15:18 -0000
@@ -85,7 +85,7 @@
# define usePolyGlyphBlt miPolyGlyphBlt
#endif
-void cfbUnPushPixels (GCPtr, PixmapPtr, DrawablePtr, int, int, int, int);
+static void cfbUnPushPixels (GCPtr, PixmapPtr, DrawablePtr, int, int, int, int);
#ifdef FOUR_BIT_CODE
# define usePushPixels cfbPushPixels8
More information about the xorg
mailing list