diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-05 04:26:57 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-12-05 04:26:57 -0200 |
commit | 44c8c3cf7de589fb8e987f4ab931294eaf0b405f (patch) | |
tree | 62d85e0447fb35b59d81ec7ea1d096261c729731 /include | |
parent | 091a50d1260c70055aba1fa6a2d1b1a36de1114e (diff) |
Remove static symbol address tables in hw/xfree86/loader/*sym.{c,h}
Those tables were once used to decide what symbols are visible to
modules, but they were outdated. The only real usage was that, since
it was taking the address of symbols, linkage should fail if the
symbols were not available.
Now the proper way to make symbols available to modules should
be to use the _X_EXPORT macro, or not compile with hidden symbols,
so that all symbols would be available.
All symbols in the tables were revised to ensure they are exported,
and only symbols that were not exported are ClientSleepUntil() and
DuplicateModule(), that were not in the sdk for quite some time
already, and should not have any users outside of the X Server
(and/or builtin modules).
Diffstat (limited to 'include')
-rw-r--r-- | include/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index 6a8cda0a2..509ce3cff 100644 --- a/include/input.h +++ b/include/input.h @@ -512,7 +512,7 @@ extern _X_EXPORT int FocusSemaphoresIsset(WindowPtr win); extern _X_EXPORT int NewInputDeviceRequest( InputOption *options, DeviceIntPtr *dev); -extern void DeleteInputDeviceRequest( +extern _X_EXPORT void DeleteInputDeviceRequest( DeviceIntPtr dev); extern _X_EXPORT void DDXRingBell( |