summaryrefslogtreecommitdiff
path: root/lib/tests/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/udp.c')
-rw-r--r--lib/tests/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests/udp.c b/lib/tests/udp.c
index 6c43a2f..184325e 100644
--- a/lib/tests/udp.c
+++ b/lib/tests/udp.c
@@ -41,7 +41,7 @@ _resolve (const char *str)
}
ssize_t
-poll (struct polldata *data)
+udp_poll (struct polldata *data)
{
int r;
long timeout;
@@ -68,7 +68,7 @@ poll (struct polldata *data)
}
struct polldata *
-server (const char *bindto, struct timeval *timeout, data_cb cb)
+udp_server (const char *bindto, struct timeval *timeout, data_cb cb)
{
struct addrinfo *res;
int s = -1;