From 0c8af82ef9a0b099fcdc3e67e99d73b4217a4217 Mon Sep 17 00:00:00 2001 From: rbb Date: Mon, 4 Oct 1999 16:36:44 +0000 Subject: First patch to re-order function parameters. This one gets the low hanging fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@57785 13f79535-47bb-0310-9956-ffa450edef68 --- hooks/ap_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks/ap_hooks.c') diff --git a/hooks/ap_hooks.c b/hooks/ap_hooks.c index 00d945fd..1573650a 100644 --- a/hooks/ap_hooks.c +++ b/hooks/ap_hooks.c @@ -118,7 +118,7 @@ static ap_array_header_t *sort_hook(ap_array_header_t *pHooks,const char *szName ap_array_header_t *pNew; int n; - ap_create_context(g_pHookPool, &p); + ap_create_context(&p, g_pHookPool); pSort=prepare(p,(TSortData *)pHooks->elts,pHooks->nelts); tsort(pSort,pHooks->nelts); pNew=ap_make_array(g_pHookPool,pHooks->nelts,sizeof(TSortData)); -- cgit v1.2.1