[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [RFC] Add attribute visibility("default") to API functions

From: Yury Usishchev
Subject: [Acl-devel] [RFC] Add attribute visibility("default") to API functions
Date: Thu, 11 Feb 2016 19:50:21 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


I am trying to make acl build with -fvisibility=hidden possible. For that API 
functions (that are used externally)
should be marked with __attribute__((visibility("default"))).
More info on visibility in gcc wiki -

I modified macro from above wiki page and added it to headers of acl.
Then I gathered all functions that are accessible externally (from public 
headers that are installed to /usr/include)
and marked them all with new macro. Resulting patch is attached.

Could you please review attached patch?

Yury Usishchev

Attachment: visibility.patch
Description: Add_visibility_attribute

reply via email to

[Prev in Thread] Current Thread [Next in Thread]