diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-09-06 12:01:26 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-09-06 12:01:26 -0700 |
| commit | 468714a51bbc9fc6acf03479b8825ad25a2ffeb0 (patch) | |
| tree | 4a6c7b186b29b6ec1c576530e3b6854d58c305c2 /src/core/socket.h | |
| parent | d137bf383892c53265593d9a5ac17e64444091c9 (diff) | |
| download | nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.gz nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.tar.bz2 nng-468714a51bbc9fc6acf03479b8825ad25a2ffeb0.zip | |
SP initialization cannot fail.
Diffstat (limited to 'src/core/socket.h')
| -rw-r--r-- | src/core/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 57a77681..59ceffa8 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -11,7 +11,7 @@ #ifndef CORE_SOCKET_H #define CORE_SOCKET_H -extern int nni_sock_sys_init(void); +extern void nni_sock_sys_init(void); extern void nni_sock_sys_fini(void); extern int nni_sock_find(nni_sock **, uint32_t); @@ -24,7 +24,7 @@ extern uint16_t nni_sock_proto_id(nni_sock *); extern uint16_t nni_sock_peer_id(nni_sock *); extern const char *nni_sock_proto_name(nni_sock *); extern const char *nni_sock_peer_name(nni_sock *); -extern void * nni_sock_proto_data(nni_sock *); +extern void *nni_sock_proto_data(nni_sock *); extern void nni_sock_add_stat(nni_sock *, nni_stat_item *); extern struct nni_proto_pipe_ops *nni_sock_proto_pipe_ops(nni_sock *); |
