[PATCHES] v2 - xserver -remove redundant declarations

Michal Suchanek hramrach at gmail.com
Tue May 22 05:50:26 PDT 2012


On 15 May 2012 18:53, Dave Airlie <airlied at gmail.com> wrote:
>>
>> this is the remainder of the patches to remove X server redundant declaration.
>>
>> Some were merged, some addressed in a Xi patch series by Peter Hutterer.
>>
>> The fontproto one was supposedly discussed already but can't find where.
>
> http://lists.x.org/archives/xorg-devel/2012-January/028862.html
>

Yes, I don't have that message.

Anyway, it can be fixed by exporting the functions using the fontproto header.

I tried to build a X server with with a hack that includes fontproto.h
in sdksyms and exports only symbols that have _X_EXPORT and it does
build.

The downside is that you have to add _X_EXPORT to the fontproto header
and sdksyms won't work on platforms where _X_EXPORT expands to
nothing.

Thanks

Michal


More information about the xorg-devel mailing list