Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libapr1.9302
apr-visibility.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apr-visibility.patch of Package libapr1.9302
--- apr-1.5.0.orig/include/apr.h.in +++ apr-1.5.0/include/apr.h.in @@ -476,7 +476,7 @@ typedef apr_uint32_t apr_uin * headers, without defining APR_DECLARE_STATIC, will prepare the code to be * linked to the dynamic library. */ -#define APR_DECLARE(type) type +#define APR_DECLARE(type) __attribute__ ((visibility ("default"))) type /** * The public APR functions using variable arguments are declared with @@ -489,7 +489,7 @@ typedef apr_uint32_t apr_uin * * </PRE> */ -#define APR_DECLARE_NONSTD(type) type +#define APR_DECLARE_NONSTD(type) __attribute__ ((visibility ("default"))) type /** * The public APR variables are declared with AP_MODULE_DECLARE_DATA. @@ -505,7 +505,7 @@ typedef apr_uint32_t apr_uin * * </PRE> */ -#define APR_DECLARE_DATA +#define APR_DECLARE_DATA __attribute__ ((visibility ("default"))) #elif defined(APR_DECLARE_STATIC) #define APR_DECLARE(type) type __stdcall --- apr-1.5.0.orig/include/apr_support.h +++ apr-1.5.0/include/apr_support.h @@ -45,7 +45,7 @@ extern "C" { * otherwise wait for data to be able to be written. * @return APR_TIMEUP if we run out of time. */ -apr_status_t apr_wait_for_io_or_timeout(apr_file_t *f, apr_socket_t *s, +APR_DECLARE(apr_status_t) apr_wait_for_io_or_timeout(apr_file_t *f, apr_socket_t *s, int for_read); /** @} */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor