Skip to content

Commit

Permalink
Remove registration functions (unused).
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Nov 5, 2024
1 parent cd978d9 commit 1f9ee60
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 38 deletions.
8 changes: 0 additions & 8 deletions src/sp/transport/inproc/inproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
8 changes: 0 additions & 8 deletions src/sp/transport/ipc/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
8 changes: 0 additions & 8 deletions src/sp/transport/tcp/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
14 changes: 0 additions & 14 deletions src/sp/transport/ws/websocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1f9ee60

Please sign in to comment.