diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-05 09:08:48 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-05 09:08:48 +0000 |
commit | da0ad4a95ba76e17f3c45d9bdebd5f45ba9636d4 (patch) | |
tree | 331f603e20e83c266ab42a737321d057ad3b2a27 /hooks | |
parent | 32e24832385c545e48096c6c2d39da0505305bf5 (diff) | |
download | libapr-util-da0ad4a95ba76e17f3c45d9bdebd5f45ba9636d4.tar.gz |
Fix the win32 GP fault from the 2.0.16 release candidate. Hook calling
convention was ignored due to the casts in apr_optional.h.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58196 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/apr_hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/apr_hooks.c b/hooks/apr_hooks.c index fd32dd27..9395b017 100644 --- a/hooks/apr_hooks.c +++ b/hooks/apr_hooks.c @@ -339,8 +339,8 @@ APU_DECLARE(apr_opt_fn_t *) apr_retrieve_optional_fn(const char *szName) return (void(*)(void))apr_hash_get(s_phOptionalFunctions,szName,strlen(szName)); } -APU_DECLARE(void) apr_register_optional_fn(const char *szName, - apr_opt_fn_t *pfn) +APU_DECLARE_NONSTD(void) apr_register_optional_fn(const char *szName, + apr_opt_fn_t *pfn) { if(!s_phOptionalFunctions) s_phOptionalFunctions=apr_hash_make(apr_global_hook_pool); |