From 01a5ffffd0c90f370a3c7c8ecc7ed559e48b3ac0 Mon Sep 17 00:00:00 2001 From: Niveditha Rau Date: Tue, 16 Jun 2015 12:26:50 -0800 Subject: [PATCH] Mark DriverRec exported in r128_probe.h to match r128_probe.c Fixes build failure when compiling with Solaris Studio compiler using -xldscope=hidden: "r128_probe.c", line 359: redeclaration must have the same or more restrictive linker scoping: R128 Signed-off-by: Alan Coopersmith --- src/r128_probe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r128_probe.h b/src/r128_probe.h index 8c4bfbd..4026989 100644 --- a/src/r128_probe.h +++ b/src/r128_probe.h @@ -97,7 +97,7 @@ #define PCI_CHIP_RAGE128TT 0x5454 #define PCI_CHIP_RAGE128TU 0x5455 -extern DriverRec R128; +extern _X_EXPORT DriverRec R128; typedef enum {