summaryrefslogtreecommitdiff
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2012-08-07 11:15:23 +0200
committerOndrej Filip <feela@network.cz>2012-08-07 11:15:23 +0200
commit60c412b9368fd7c3b0a8df2200f02140adcb0cf3 (patch)
tree237d3c0b8aa86c6f3a88a76141ab51ca94b1fcd7 /sysdep/unix/io.c
parent3fe1d9e4a40663b93b59f5b6f9d61af9dc6a8ae6 (diff)
parent94e2f1c111721d6213ea65cac5c53036e38e3973 (diff)
Merge branch 'master' of ssh://git.nic.cz/birdv1.3.8
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 475d660c..f91b5278 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -588,9 +588,12 @@ static struct resclass sk_class = {
* This function creates a new socket resource. If you want to use it,
* you need to fill in all the required fields of the structure and
* call sk_open() to do the actual opening of the socket.
+ *
+ * The real function name is sock_new(), sk_new() is a macro wrapper
+ * to avoid collision with OpenSSL.
*/
sock *
-sk_new(pool *p)
+sock_new(pool *p)
{
sock *s = ralloc(p, &sk_class);
s->pool = p;