From da0ad4a95ba76e17f3c45d9bdebd5f45ba9636d4 Mon Sep 17 00:00:00 2001 From: wrowe Date: Thu, 5 Apr 2001 09:08:48 +0000 Subject: 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 --- hooks/apr_hooks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks') 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); -- cgit v1.2.1