diff --git a/include/apr_ldap_common.h b/include/apr_ldap_common.h index df840160..00f28c31 100644 --- a/include/apr_ldap_common.h +++ b/include/apr_ldap_common.h @@ -151,7 +151,7 @@ typedef struct apr_ldap_driver_t apr_ldap_driver_t; * @return APR_EDSOOPEN if DSO driver file can't be opened * @return APR_ESYMNOTFOUND if the driver file doesn't contain a driver */ -APR_DECLARE(apr_status_t) apr_ldap_get_driver(apr_pool_t *pool, +APU_DECLARE(apr_status_t) apr_ldap_get_driver(apr_pool_t *pool, const apr_ldap_driver_t **driver, apu_err_t *err) __attribute__((nonnull(1))); diff --git a/ldap/apr_ldap_stub.c b/ldap/apr_ldap_stub.c index e48b9ce2..883f82c3 100644 --- a/ldap/apr_ldap_stub.c +++ b/ldap/apr_ldap_stub.c @@ -99,7 +99,7 @@ static apr_status_t load_ldap(apr_pool_t *pool, const apr_ldap_driver_t **driver if (!lfn) \ return failres; -APR_DECLARE(apr_status_t) apr_ldap_get_driver(apr_pool_t *pool, +APU_DECLARE(apr_status_t) apr_ldap_get_driver(apr_pool_t *pool, const apr_ldap_driver_t **driver, apu_err_t *err) {