[PATCH:xf86-video-xgi 17/19] Make two unused Scaling variables static.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:15 PDT 2015


Avoids
xgi_drv_pic.a(xgi_setup.pico):(.rodata+0x30): multiple definition of `XGIScalingP4Regs'

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/xgi_driver.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xgi_driver.h b/src/xgi_driver.h
index 0754f16..fe8a8c1 100755
--- a/src/xgi_driver.h
+++ b/src/xgi_driver.h
@@ -493,10 +493,10 @@ static const MyXGITVVScale XGITVVScale[] = {
       },
 };
 
-unsigned const char XGIScalingP1Regs[] = {
+static unsigned const char XGIScalingP1Regs[] = {
 	0x08,0x09,0x0b,0x0c,0x0d,0x0e,0x10,0x11,0x12
 };
-unsigned const char XGIScalingP4Regs[] = {
+static unsigned const char XGIScalingP4Regs[] = {
 	0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b
 };
 
-- 
2.5.0



More information about the xorg-devel mailing list