Commit cb4cff79 authored by Dafydd Harries's avatar Dafydd Harries

udp/: add unused qualifier to various parameters

darcs-hash:20070212131131-c9803-fd9bfb77f9276310dbc3599271f1763d18c84a08.gz
parent 590a71c3
...@@ -60,6 +60,7 @@ socket_close (NiceUDPSocket *sock) ...@@ -60,6 +60,7 @@ socket_close (NiceUDPSocket *sock)
static gboolean static gboolean
socket_factory_init_socket ( socket_factory_init_socket (
G_GNUC_UNUSED
NiceUDPSocketFactory *man, NiceUDPSocketFactory *man,
NiceUDPSocket *sock, NiceUDPSocket *sock,
NiceAddress *addr) NiceAddress *addr)
...@@ -113,12 +114,16 @@ socket_factory_init_socket ( ...@@ -113,12 +114,16 @@ socket_factory_init_socket (
} }
static void static void
socket_factory_close (NiceUDPSocketFactory *man) socket_factory_close (
G_GNUC_UNUSED
NiceUDPSocketFactory *man)
{ {
} }
void void
nice_udp_bsd_socket_factory_init (NiceUDPSocketFactory *man) nice_udp_bsd_socket_factory_init (
G_GNUC_UNUSED
NiceUDPSocketFactory *man)
{ {
man->init = socket_factory_init_socket; man->init = socket_factory_init_socket;
man->close = socket_factory_close; man->close = socket_factory_close;
......
...@@ -104,6 +104,7 @@ fake_close (NiceUDPSocket *sock) ...@@ -104,6 +104,7 @@ fake_close (NiceUDPSocket *sock)
/* XXX: copied INADDR_ANY to sock->addr rather than using a valid address */ /* XXX: copied INADDR_ANY to sock->addr rather than using a valid address */
static gboolean static gboolean
fake_socket_init ( fake_socket_init (
G_GNUC_UNUSED
NiceUDPSocketFactory *man, NiceUDPSocketFactory *man,
NiceUDPSocket *sock, NiceUDPSocket *sock,
NiceAddress *addr) NiceAddress *addr)
...@@ -174,7 +175,9 @@ nice_udp_fake_socket_pop_send ( ...@@ -174,7 +175,9 @@ nice_udp_fake_socket_pop_send (
} }
static void static void
fake_socket_factory_close (NiceUDPSocketFactory *man) fake_socket_factory_close (
G_GNUC_UNUSED
NiceUDPSocketFactory *man)
{ {
} }
......
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