From bd0eced7d586a1648c9c429b5ac6aeec8256e4c6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:45:36 +0100 Subject: source4/lib: Fix prototypes for all functions. --- source4/lib/socket/socket_ip.c | 3 +++ source4/lib/socket/socket_unix.c | 1 + 2 files changed, 4 insertions(+) (limited to 'source4/lib/socket') diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c index 9a02f0184c..4e66653252 100644 --- a/source4/lib/socket/socket_ip.c +++ b/source4/lib/socket/socket_ip.c @@ -27,6 +27,9 @@ #include "system/network.h" #include "lib/util/util_net.h" +_PUBLIC_ const struct socket_ops *socket_ipv4_ops(enum socket_type type); +_PUBLIC_ const struct socket_ops *socket_ipv6_ops(enum socket_type type); + static NTSTATUS ipv4_init(struct socket_context *sock) { int type; diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c index af7d2bb79f..f1fa0a3a30 100644 --- a/source4/lib/socket/socket_unix.c +++ b/source4/lib/socket/socket_unix.c @@ -25,6 +25,7 @@ #include "system/network.h" #include "system/filesys.h" +_PUBLIC_ const struct socket_ops *socket_unixdom_ops(enum socket_type type); /* -- cgit