aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/nng.c b/src/nng.c
index d5cc4f2b..815fb2b8 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -21,22 +21,6 @@
#include <string.h>
-int
-nng_open(nng_socket *sidp, uint16_t proto)
-{
- int rv;
- nni_sock *sock;
-
- if ((rv = nni_sock_open(&sock, proto)) != 0) {
- return (rv);
- }
- *sidp = nni_sock_id(sock);
-
- // Keep the socket "held" until it is explicitly closed.
-
- return (0);
-}
-
void
nng_fini(void)
{