diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-04 23:48:27 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-04 23:48:27 -0800 |
| commit | 1f9ee60c638fcab58f9dafa0b48930faf72784d7 (patch) | |
| tree | 16c0edc376ee9e991beebe499d2b85e2a4f50425 | |
| parent | cd978d9dc1cd7838cc5d063e028b2f8e29fce372 (diff) | |
| download | nng-1f9ee60c638fcab58f9dafa0b48930faf72784d7.tar.gz nng-1f9ee60c638fcab58f9dafa0b48930faf72784d7.tar.bz2 nng-1f9ee60c638fcab58f9dafa0b48930faf72784d7.zip | |
Remove registration functions (unused).
| -rw-r--r-- | src/sp/transport/inproc/inproc.c | 8 | ||||
| -rw-r--r-- | src/sp/transport/ipc/ipc.c | 8 | ||||
| -rw-r--r-- | src/sp/transport/tcp/tcp.c | 8 | ||||
| -rw-r--r-- | src/sp/transport/ws/websocket.c | 14 |
4 files changed, 0 insertions, 38 deletions
diff --git a/src/sp/transport/inproc/inproc.c b/src/sp/transport/inproc/inproc.c index 978b6679..b7ead07c 100644 --- a/src/sp/transport/inproc/inproc.c +++ b/src/sp/transport/inproc/inproc.c @@ -686,14 +686,6 @@ struct nni_sp_tran nni_inproc_tran = { .tran_fini = inproc_fini, }; -#ifndef NNG_ELIDE_DEPRECATED -int -nng_inproc_register(void) -{ - return (nni_init()); -} -#endif - void nni_sp_inproc_register(void) { diff --git a/src/sp/transport/ipc/ipc.c b/src/sp/transport/ipc/ipc.c index 07bb5548..82af6925 100644 --- a/src/sp/transport/ipc/ipc.c +++ b/src/sp/transport/ipc/ipc.c @@ -1154,14 +1154,6 @@ static nni_sp_tran ipc_tran_abstract = { }; #endif -#ifndef NNG_ELIDE_DEPRECATED -int -nng_ipc_register(void) -{ - return (nni_init()); -} -#endif - void nni_sp_ipc_register(void) { diff --git a/src/sp/transport/tcp/tcp.c b/src/sp/transport/tcp/tcp.c index be2e0345..437001f6 100644 --- a/src/sp/transport/tcp/tcp.c +++ b/src/sp/transport/tcp/tcp.c @@ -1272,14 +1272,6 @@ static nni_sp_tran tcp6_tran = { }; #endif -#ifndef NNG_ELIDE_DEPRECATED -int -nng_tcp_register(void) -{ - return (nni_init()); -} -#endif - void nni_sp_tcp_register(void) { diff --git a/src/sp/transport/ws/websocket.c b/src/sp/transport/ws/websocket.c index 0e377e4b..c749e789 100644 --- a/src/sp/transport/ws/websocket.c +++ b/src/sp/transport/ws/websocket.c @@ -670,20 +670,6 @@ static nni_sp_tran ws6_tran = { .tran_fini = wstran_fini, }; -#ifndef NNG_ELIDE_DEPRECATED -int -nng_ws_register(void) -{ - return (nni_init()); -} - -int -nng_wss_register(void) -{ - return (nni_init()); -} -#endif - void nni_sp_ws_register(void) { |
