add 'static' to inline functions in callback/calldata.h