rbb 01/01/06 12:43:50
Modified: include ap_hooks.h
src/hooks ap_hooks.c
Log:
Back out the last change, this breaks Apache. The abstraction is incorrect
here, but I would rather have working code with the wrong abstraction than
non-working code with a better abstraction.
Revision Changes Path
1.32 +1 -1 apr-util/include/ap_hooks.h
Index: ap_hooks.h
===================================================================
RCS file: /home/cvs/apr-util/include/ap_hooks.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ap_hooks.h 2001/01/06 20:29:04 1.31
+++ ap_hooks.h 2001/01/06 20:43:50 1.32
@@ -63,7 +63,7 @@
* @package Apache hooks functions
*/
-#define APU_DECLARE_EXTERNAL_HOOK(link,ret,name,args) \
+#define AP_DECLARE_EXTERNAL_HOOK(link,ret,name,args) \
typedef ret HOOK_##name args; \
link##_DECLARE(void) ap_hook_##name(HOOK_##name *pf, const char* const*
aszPre, \
const char * const *aszSucc, int
nOrder); \
1.28 +1 -1 apr-util/src/hooks/ap_hooks.c
Index: ap_hooks.c
===================================================================
RCS file: /home/cvs/apr-util/src/hooks/ap_hooks.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ap_hooks.c 2001/01/06 20:10:56 1.27
+++ ap_hooks.c 2001/01/06 20:43:50 1.28
@@ -285,7 +285,7 @@
/* Generic hook support */
-APU_DECLARE_EXTERNAL_HOOK(APU,void,_generic,(void))
+AP_DECLARE_EXTERNAL_HOOK(APU,void,_generic,(void))
APU_DECLARE(apr_array_header_t *) ap_generic_hook_get(const char *szName)
{