The Doxygen documentation says:
The public APR variables are declared with AP_MODULE_DECLARE_DATA. This assures the appropriate indirection is invoked at compile time.
Note that the declaration and implementations use different forms, but both must include the macro.
extern APR_DECLARE_DATA type apr_variable;
APR_DECLARE_DATA type apr_variable = value;
I suspect that the reference to AP_MODULE_DECLARE_DATA is a relic from a previous naming convention. It certainly is confusing if that is not the explanation, since the examples then do not tie up with text.
Jonathan Leffler <firstname.lastname@example.org> #include <disclaimer.h>
Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be amused."