87a7fb7438
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".
7 lines
74 B
C
7 lines
74 B
C
#ifndef __I2C_DEF_H__
|
|
#define __I2C_DEF_H__
|
|
|
|
#include "xf86i2c.h"
|
|
|
|
#endif
|