summaryrefslogtreecommitdiff
path: root/lib/tests/udp.c
diff options
context:
space:
mode:
authorlinus <linus@nordu.net>2011-01-20 10:02:52 +0100
committerlinus <linus@nordu.net>2011-01-20 10:02:52 +0100
commitfb3c040c7b5fcf1a3446a36f0e6cea3ccfeebbda (patch)
tree5fbd03da0eb2beac8ff2da0ad53f92166326cdb5 /lib/tests/udp.c
parent75732c2f1247725bf512b152450306157b56d78f (diff)
Rename external functions in UDP test files.
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;