fix windows build issues from snapshot spandsp-20090131

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11602 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-02-02 21:36:29 +00:00
1 parent 0064924ba5
commit 356cfa02e8
124 files changed
+1675 -1143

No files matched your search

+14 -14
View File
@@ -5026,7 +5026,7 @@ void t30_non_ecm_put_bit(void *user_data, int bit)
}
/*- End of function --------------------------------------------------------*/
void t30_non_ecm_put_byte(void *user_data, int byte)
SPAN_DECLARE(void) t30_non_ecm_put_byte(void *user_data, int byte)
{
t30_state_t *s;
@@ -5062,7 +5062,7 @@ void t30_non_ecm_put_byte(void *user_data, int byte)
}
/*- End of function --------------------------------------------------------*/
void t30_non_ecm_put_chunk(void *user_data, const uint8_t buf[], int len)
SPAN_DECLARE(void) t30_non_ecm_put_chunk(void *user_data, const uint8_t buf[], int len)
{
t30_state_t *s;
int i;
@@ -5137,7 +5137,7 @@ int t30_non_ecm_get_bit(void *user_data)
}
/*- End of function --------------------------------------------------------*/
int t30_non_ecm_get_byte(void *user_data)
SPAN_DECLARE(int) t30_non_ecm_get_byte(void *user_data)
{
int byte;
t30_state_t *s;
@@ -5172,7 +5172,7 @@ int t30_non_ecm_get_byte(void *user_data)
}
/*- End of function --------------------------------------------------------*/
int t30_non_ecm_get_chunk(void *user_data, uint8_t buf[], int max_len)
SPAN_DECLARE(int) t30_non_ecm_get_chunk(void *user_data, uint8_t buf[], int max_len)
{
int len;
t30_state_t *s;
@@ -5356,7 +5356,7 @@ void t30_hdlc_accept(void *user_data, const uint8_t *msg, int len, int ok)
}
/*- End of function --------------------------------------------------------*/
void t30_front_end_status(void *user_data, int status)
SPAN_DECLARE(void) t30_front_end_status(void *user_data, int status)
{
t30_state_t *s;
@@ -5671,7 +5671,7 @@ void t30_front_end_status(void *user_data, int status)
}
/*- End of function --------------------------------------------------------*/
void t30_timer_update(t30_state_t *s, int samples)
SPAN_DECLARE(void) t30_timer_update(t30_state_t *s, int samples)
{
if (s->timer_t0_t1 > 0)
{
@@ -5723,7 +5723,7 @@ void t30_timer_update(t30_state_t *s, int samples)
}
/*- End of function --------------------------------------------------------*/
void t30_terminate(t30_state_t *s)
SPAN_DECLARE(void) t30_terminate(t30_state_t *s)
{
if (s->phase != T30_PHASE_CALL_FINISHED)
{
@@ -5753,7 +5753,7 @@ void t30_terminate(t30_state_t *s)
}
/*- End of function --------------------------------------------------------*/
void t30_get_transfer_statistics(t30_state_t *s, t30_stats_t *t)
SPAN_DECLARE(void) t30_get_transfer_statistics(t30_state_t *s, t30_stats_t *t)
{
t4_stats_t stats;
@@ -5775,7 +5775,7 @@ void t30_get_transfer_statistics(t30_state_t *s, t30_stats_t *t)
}
/*- End of function --------------------------------------------------------*/
void t30_local_interrupt_request(t30_state_t *s, int state)
SPAN_DECLARE(void) t30_local_interrupt_request(t30_state_t *s, int state)
{
if (s->timer_t3 > 0)
{
@@ -5787,7 +5787,7 @@ void t30_local_interrupt_request(t30_state_t *s, int state)
}
/*- End of function --------------------------------------------------------*/
int t30_restart(t30_state_t *s)
SPAN_DECLARE(int) t30_restart(t30_state_t *s)
{
s->phase = T30_PHASE_IDLE;
s->next_phase = T30_PHASE_IDLE;
@@ -5822,7 +5822,7 @@ int t30_restart(t30_state_t *s)
}
/*- End of function --------------------------------------------------------*/
t30_state_t *t30_init(t30_state_t *s,
SPAN_DECLARE(t30_state_t *) t30_init(t30_state_t *s,
int calling_party,
t30_set_handler_t *set_rx_type_handler,
void *set_rx_type_user_data,
@@ -5863,7 +5863,7 @@ t30_state_t *t30_init(t30_state_t *s,
}
/*- End of function --------------------------------------------------------*/
int t30_release(t30_state_t *s)
SPAN_DECLARE(int) t30_release(t30_state_t *s)
{
/* Make sure any FAX in progress is tidied up. If the tidying up has
already happened, repeating it here is harmless. */
@@ -5881,7 +5881,7 @@ int t30_release(t30_state_t *s)
}
/*- End of function --------------------------------------------------------*/
int t30_free(t30_state_t *s)
SPAN_DECLARE(int) t30_free(t30_state_t *s)
{
t30_release(s);
free(s);
@@ -5889,7 +5889,7 @@ int t30_free(t30_state_t *s)
}
/*- End of function --------------------------------------------------------*/
int t30_call_active(t30_state_t *s)
SPAN_DECLARE(int) t30_call_active(t30_state_t *s)
{
return (s->phase != T30_PHASE_CALL_FINISHED);
}