summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-19 19:47:50 +0200
committerMartin Mares <mj@ucw.cz>1998-10-19 19:47:50 +0200
commit4cf45766bac4b1e3f5196f7e36d012cb7c010dc1 (patch)
tree58c78cab6352e57768c8d76014a825184d2b30c2 /sysdep/unix/io.c
parent36f2caf147fb80e2b3db59d367e07f5d143f3710 (diff)
downloadbird-4cf45766bac4b1e3f5196f7e36d012cb7c010dc1.tar
bird-4cf45766bac4b1e3f5196f7e36d012cb7c010dc1.zip
Exporting fill_in_sockaddr() for use by other unix-dependent code.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 4e5dbfd..3340666 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -281,7 +281,7 @@ set_inaddr(struct in_addr *ia, ip_addr a)
memcpy(&ia->s_addr, &a, sizeof(a));
}
-static void
+void
fill_in_sockaddr(struct sockaddr_in *sa, ip_addr a, unsigned port)
{
sa->sin_family = AF_INET;