diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com> | 2008-01-31 22:47:18 -0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-02-05 11:06:26 -0800 |
commit | ba619ef92b1b1303d8cf76ebd68dea978d17eb7a (patch) | |
tree | 4a86eb616349726d6a95c23d94e1159ee7e8f88f | |
parent | 25f4e1729a3447c6288b4acde99f733833661425 (diff) |
Make sure symbols used by other modules are public.
These symbols must be explicitly exported, otherwise if compiled with
hidden symbols, LoaderSymbol (and dlopen) will fail to find them.
-rw-r--r-- | src/ch7017/ch7017.c | 2 | ||||
-rw-r--r-- | src/ch7xxx/ch7xxx.c | 2 | ||||
-rw-r--r-- | src/ivch/ivch.c | 2 | ||||
-rw-r--r-- | src/sil164/sil164.c | 2 | ||||
-rw-r--r-- | src/tfp410/tfp410.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/ch7017/ch7017.c b/src/ch7017/ch7017.c index 6fc34223..76f9cf77 100644 --- a/src/ch7017/ch7017.c +++ b/src/ch7017/ch7017.c @@ -313,7 +313,7 @@ ch7017_restore(I2CDevPtr d) ch7017_write(priv, CH7017_POWER_MANAGEMENT, priv->save_power_management); } -I830I2CVidOutputRec ch7017_methods = { +_X_EXPORT I830I2CVidOutputRec ch7017_methods = { .init = ch7017_init, .detect = ch7017_detect, .mode_valid = ch7017_mode_valid, diff --git a/src/ch7xxx/ch7xxx.c b/src/ch7xxx/ch7xxx.c index da02ad24..51fa78e6 100644 --- a/src/ch7xxx/ch7xxx.c +++ b/src/ch7xxx/ch7xxx.c @@ -306,7 +306,7 @@ ch7xxx_restore(I2CDevPtr d) ch7xxx_write(dev_priv, CH7xxx_PM, dev_priv->save_PM); } -I830I2CVidOutputRec CH7xxxVidOutput = { +_X_EXPORT I830I2CVidOutputRec CH7xxxVidOutput = { .init = ch7xxx_init, .detect = ch7xxx_detect, .mode_valid = ch7xxx_mode_valid, diff --git a/src/ivch/ivch.c b/src/ivch/ivch.c index eb5dc21c..820919fb 100644 --- a/src/ivch/ivch.c +++ b/src/ivch/ivch.c @@ -358,7 +358,7 @@ ivch_restore(I2CDevPtr d) } -I830I2CVidOutputRec ivch_methods = { +_X_EXPORT I830I2CVidOutputRec ivch_methods = { .init = ivch_init, .dpms = ivch_dpms, .save = ivch_save, diff --git a/src/sil164/sil164.c b/src/sil164/sil164.c index 12fe8e2e..f7d414a2 100644 --- a/src/sil164/sil164.c +++ b/src/sil164/sil164.c @@ -237,7 +237,7 @@ sil164_restore(I2CDevPtr d) } -I830I2CVidOutputRec SIL164VidOutput = { +_X_EXPORT I830I2CVidOutputRec SIL164VidOutput = { .init = sil164_init, .detect = sil164_detect, .mode_valid = sil164_mode_valid, diff --git a/src/tfp410/tfp410.c b/src/tfp410/tfp410.c index b79fd2a8..bb038cdb 100644 --- a/src/tfp410/tfp410.c +++ b/src/tfp410/tfp410.c @@ -259,7 +259,7 @@ tfp410_restore(I2CDevPtr d) tfp410WriteByte(tfp, TFP410_CTL_1, tfp->SavedReg.ctl1); } -I830I2CVidOutputRec TFP410VidOutput = { +_X_EXPORT I830I2CVidOutputRec TFP410VidOutput = { .init = tfp410_init, .detect = tfp410_detect, .mode_valid = tfp410_mode_valid, |