On Wed, 23 Jun 2004 14:58:04 -0400, Brian Akins wrote: > Edward Rudd wrote: > >> >>The 6th (or 1st) argument is only required when using 2.1-HEAD (apr-util >>1.0).. Apache 2.0/APR-util 0.9.5 don't have this extra argument. >> >> >> >> > $ grep APR_OPTIONAL_HOOK /opt/apache/include/* > ... > /opt/apache/include/ap_config.h: > APR_OPTIONAL_HOOK(ap,name,fn,pre,succ,order) > ... > Ahh. I found out why. I typed APR_OPTIONAL_HOOK in the e-mail but I used AP_OPTIONAL_HOOK in my source.
use AP_OPTIONAL_HOOK as that includes the apache namespace (the ap) already.