At 01:03 PM 11/29/2004, Mladen Turk wrote: >William A. Rowe, Jr. wrote: >>The reason this popped up is that the function was not >>previously exported, therefore it was in the c convention >>as a local function. >>In the future, Mladen, please don't assume unix coders know >>this distinction and please go ahead, fix things up as necessary. > >Have no idea how to do that with AP_DECLARE.
You don't, simply s/AP_DECLARE/AP_DECLARE_NONSTD with a small footnote to the effect that "This fn is registered as a callback in the cmd_table, and must be declared NONSTD." Simply fix it, no hassle, it's already our convention throughout the code for registered callbacks. AFAIK - AP_DECLARE, AP_DECLARE_NONSTD and AP_DECLARE_DATA are all picked up by the exports.c generator. Bill
