Commit 598208c1 authored by Pekka Pessi's avatar Pekka Pessi

tport_type_sctp.c, tport.c: silenced warnings.

Warnings when SCTP  was enabled or IP6 disabled.

darcs-hash:20070420064929-65a35-c60a8a2d248e4688eff2918dd813fc3859eb22a4.gz
parent 1f7e84d9
......@@ -1482,6 +1482,8 @@ int tport_bind_server(tport_master_t *mr,
unsigned short step = 0;
bind6only_check(mr);
(void)hostname;
SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, (void *)mr, TPN_ARGS(tpn)));
......
......@@ -96,8 +96,8 @@ static int tport_sctp_init_socket(tport_primary_t *pri,
int socket,
char const **return_reason);
static int tport_recv_sctp(tport_t *self);
static int tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], int iovused);
static ssize_t tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], size_t iovused);
tport_vtable_t const tport_sctp_client_vtable =
{
......@@ -254,8 +254,8 @@ int tport_recv_sctp(tport_t *self)
return 2;
}
static int tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], int iovused)
static ssize_t tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], size_t iovused)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment