Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
hypertable:0.9
>
libedit
> libedit-visibility.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libedit-visibility.patch of Package libedit
Index: libedit-20110802-3.0/src/sys.h =================================================================== --- libedit-20110802-3.0.orig/src/sys.h +++ libedit-20110802-3.0/src/sys.h @@ -63,7 +63,7 @@ #endif #ifndef public -# define public /* Externally visible functions/variables */ +# define public __attribute__ ((visibility ("default"))) /* Externally visible functions/variables */ #endif #ifndef private @@ -71,7 +71,7 @@ #endif #ifndef protected -# define protected /* Redefined from elsewhere to "static" */ +# define protected __attribute__ ((visibility ("hidden"))) /* Redefined from elsewhere to "static" */ /* When we want to hide everything */ #endif