summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86sbusBus.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-08 22:11:50 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-08 22:11:50 -0200
commit7c8720c1433d2c3b85bbf4b811cc54c2df4c0080 (patch)
treef5eacfbbccebad984f3d461900b352b55e97c16e /hw/xfree86/common/xf86sbusBus.h
parent58a27d2932164e43c0db42b1286ec2f95250b420 (diff)
Correct wrong symbol reference on sparc.
The awk script was incorrectly referencing the struct name, and not the struct variable. Also added some comments to sdksyms.sh, for the reason it generates the "symbol table" and add a message to the generated file, telling is was automatically generated.
Diffstat (limited to 'hw/xfree86/common/xf86sbusBus.h')
-rw-r--r--hw/xfree86/common/xf86sbusBus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h
index e83592d15..5cdb0951a 100644
--- a/hw/xfree86/common/xf86sbusBus.h
+++ b/hw/xfree86/common/xf86sbusBus.h
@@ -56,16 +56,17 @@ typedef struct sbus_device {
char *device;
} sbusDevice, *sbusDevicePtr;
-extern _X_EXPORT struct sbus_devtable {
+struct sbus_devtable {
int devId;
int fbType;
char *promName;
char *driverName;
char *descr;
-} sbusDeviceTable[];
+};
extern _X_EXPORT void xf86SbusProbe(void);
extern _X_EXPORT sbusDevicePtr *xf86SbusInfo;
+extern _X_EXPORT struct sbus_devtable sbusDeviceTable[];
extern _X_EXPORT int xf86MatchSbusInstances(const char *driverName, int sbusDevId,
GDevPtr *devList, int numDevs, DriverPtr drvp,