[Bug 2695] New: Conflicting static/non-static function and array
declarations in Xserver
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 10 13:20:09 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2695
Summary: Conflicting static/non-static function and array
declarations in Xserver
Product: xorg
Version: 6.8.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Server/general
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: zlynx at acm.org
While compiling xorg 6.8.2 with GCC 4.0 I discovered a couple of problems.
Here is the patch:
diff -ru -x '*.o' xorg-x11-6.8.2-r1/work/xc/programs/Xserver/cfb/cfbgc.c
/var/tmp/xorg-x11-6.8.2-r1/work/xc/programs/Xserver/cfb/cfbgc.c
--- xorg-x11-6.8.2-r1/work/xc/programs/Xserver/cfb/cfbgc.c 2005-03-10
13:33:16.000000000 -0700
+++ /var/tmp/xorg-x11-6.8.2-r1/work/xc/programs/Xserver/cfb/cfbgc.c
2005-03-10 13:09:59.000000000 -0700
@@ -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
diff -ru -x '*.o'
xorg-x11-6.8.2-r1/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
/var/tmp/xorg-x11-6.8.2-r1/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
---
xorg-x11-6.8.2-r1/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
2004-08-11 20:23:46.000000000 -0600
+++
/var/tmp/xorg-x11-6.8.2-r1/work/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
2005-03-10 13:27:06.000000000 -0700
@@ -1,4 +1,4 @@
-static SymTabRec RADEONChipsets[] = {
+SymTabRec RADEONChipsets[] = {
{ PCI_CHIP_RADEON_QD, "ATI Radeon QD (AGP)" },
{ PCI_CHIP_RADEON_QE, "ATI Radeon QE (AGP)" },
{ PCI_CHIP_RADEON_QF, "ATI Radeon QF (AGP)" },
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list