summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-27 00:12:59 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-27 00:12:59 -0200
commit87a7fb7438b70d07ebf240c530b8548a01021d48 (patch)
treee38a9c8dc0986cae89230e08acc1d5f15de6e530 /os
parentfc708394318ed92c612e2938b335c08c1ffebb28 (diff)
Rework code using return value of LoaderSymbol as a function pointer.
The patch removes all macros in the format define xf86_sym ((type (*)(argument-list))LoaderSymbol("sym")) creates a new macro in the format define xf86_sym sym and ensures "sym" is a "visible" symbol. The patch doesn't add or remove features, and is source and binary compatible with previous shared objects (with the difference that it requires the dlloader). These symbols are a special case, as, due to the fact that LoaderSymbol was being used to reference them, they are not easily found by "automated" tools that check for missing symbols. And now it also have the benefit that the compiler/loader "knows what is going on".
Diffstat (limited to 'os')
0 files changed, 0 insertions, 0 deletions