aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/transport.h')
-rw-r--r--src/sp/transport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport.h b/src/sp/transport.h
index 6d1e0d4a..28f1535b 100644
--- a/src/sp/transport.h
+++ b/src/sp/transport.h
@@ -32,7 +32,7 @@ struct nni_sp_dialer_ops {
// d_init creates a vanilla dialer. The value created is
// used for the first argument for all other dialer functions.
- int (*d_init)(void **, nng_url *, nni_dialer *);
+ int (*d_init)(void *, nng_url *, nni_dialer *);
// d_fini frees the resources associated with the dialer.
// The dialer will already have been closed.
@@ -78,7 +78,7 @@ struct nni_sp_listener_ops {
// l_init creates a vanilla listener. The value created is
// used for the first argument for all other listener functions.
- int (*l_init)(void **, nng_url *, nni_listener *);
+ int (*l_init)(void *, nng_url *, nni_listener *);
// l_fini frees the resources associated with the listener.
// The listener will already have been closed.