]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
windows build fix for last commit
authorJeff Lenk <jeff@jefflenk.com>
Tue, 19 Apr 2011 19:19:49 +0000 (14:19 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 19 Apr 2011 19:19:49 +0000 (14:19 -0500)
src/mod/applications/mod_spandsp/mod_spandsp.h
src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index 7b94b55062bb2038f6d7d5e0bfb956af5d75e3fc..21de3fa22bd9c3e2b1fe853a60561041b617e7e4 100644 (file)
@@ -69,8 +69,8 @@ switch_status_t spandsp_inband_dtmf_session(switch_core_session_t *session);
 switch_status_t callprogress_detector_start(switch_core_session_t *session, const char *name);
 switch_status_t callprogress_detector_stop(switch_core_session_t *session);
 
-SWITCH_DECLARE(switch_status_t) spandsp_fax_detect_session(switch_core_session_t *session,
+switch_status_t spandsp_fax_detect_session(switch_core_session_t *session,
                                                                                                                   const char *flags, time_t timeout,
                                                                                                                   int hits, const char *app, const char *data, switch_tone_detect_callback_t callback);
 
-SWITCH_DECLARE(switch_status_t) spandsp_fax_stop_detect_session(switch_core_session_t *session);
+switch_status_t spandsp_fax_stop_detect_session(switch_core_session_t *session);
index 620971b3078959b2644e4ed77d0e440450bbae46..8dfdd07272d206bc95f7db8cbc3ceb7b0072bd0b 100644 (file)
@@ -1953,7 +1953,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da
        return rval;
 }
 
-SWITCH_DECLARE(switch_status_t) spandsp_fax_stop_detect_session(switch_core_session_t *session)
+switch_status_t spandsp_fax_stop_detect_session(switch_core_session_t *session)
 {
        switch_channel_t *channel = switch_core_session_get_channel(session);
        spandsp_fax_tone_container_t *cont = switch_channel_get_private(channel, "_fax_tone_detect_");
@@ -1967,7 +1967,7 @@ SWITCH_DECLARE(switch_status_t) spandsp_fax_stop_detect_session(switch_core_sess
        return SWITCH_STATUS_FALSE;
 }
 
-SWITCH_DECLARE(switch_status_t) spandsp_fax_detect_session(switch_core_session_t *session,
+switch_status_t spandsp_fax_detect_session(switch_core_session_t *session,
                                                                                                                   const char *flags, time_t timeout,
                                                                                                                   int hits, const char *app, const char *data, switch_tone_detect_callback_t callback)
 {