fix mod_wanpipe types

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1309 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-05-01 04:29:44 +00:00
parent cc1c2a06e9
commit b2477412e4
2 changed files with 35 additions and 35 deletions

View File

@@ -33,7 +33,7 @@
static const char modname[] = "mod_skel";
static switch_loadable_module_interface skel_module_interface = {
static switch_loadable_module_interface_t skel_module_interface = {
/*.module_name */ modname,
/*.endpoint_interface */ NULL,
/*.timer_interface */ NULL,
@@ -46,10 +46,10 @@ static switch_loadable_module_interface skel_module_interface = {
/*.directory_interface */ NULL
};
SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_module_interface_t **module_interface, char *filename)
{
/* connect my internal structure to the blank pointer passed to me */
*interface = &skel_module_interface;
*module_interface = &skel_module_interface;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Hello World!\n");