From: David Yat Sin Date: Fri, 20 Nov 2009 16:46:49 +0000 (+0000) Subject: Fix for ON_LOAD returning zap_status_t X-Git-Tag: v1.0.6~38^3~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3268b4ae34b428c6a21e95c6bf7ea92fc62571c5;p=thirdparty%2Ffreeswitch.git Fix for ON_LOAD returning zap_status_t git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@891 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/freetdm/src/ozmod/ozmod_sangoma_boost/sangoma_boost_interface.h b/libs/freetdm/src/ozmod/ozmod_sangoma_boost/sangoma_boost_interface.h index 3b5d11b007..c337995dca 100644 --- a/libs/freetdm/src/ozmod/ozmod_sangoma_boost/sangoma_boost_interface.h +++ b/libs/freetdm/src/ozmod/ozmod_sangoma_boost/sangoma_boost_interface.h @@ -147,14 +147,14 @@ typedef zap_status_t (*boost_stop_span_func_t) BOOST_START_SPAN_ARGS; */ #define BOOST_ON_LOAD_ARGS (void) typedef zap_status_t (*boost_on_load_func_t) BOOST_ON_LOAD_ARGS; -#define BOOST_ON_LOAD_FUNCTION(name) void name BOOST_ON_LOAD_ARGS +#define BOOST_ON_LOAD_FUNCTION(name) zap_status_t name BOOST_ON_LOAD_ARGS /*! \brief Called when the module is being unloaded, last chance to stop everything! */ #define BOOST_ON_UNLOAD_ARGS (void) typedef zap_status_t (*boost_on_unload_func_t) BOOST_ON_UNLOAD_ARGS; -#define BOOST_ON_UNLOAD_FUNCTION(name) void name BOOST_ON_UNLOAD_ARGS +#define BOOST_ON_UNLOAD_FUNCTION(name) zap_status_t name BOOST_ON_UNLOAD_ARGS /*! \brief The boost signaling module interface