Skip to content

Commit

Permalink
proto_wss: align functions export to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu authored and liviuchircu committed Apr 4, 2019
1 parent a610e8a commit 11ab64c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/proto_wss/proto_wss.c
Expand Up @@ -116,13 +116,10 @@ static mi_response_t *wss_trace_mi_1(const mi_params_t *params,

static int wss_port = WSS_DEFAULT_PORT;


static cmd_export_t cmds[] = {
{"proto_init", (cmd_function)proto_wss_init, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0}
{"proto_init", (cmd_function)proto_wss_init, {{0,0,0}},0},
};


static param_export_t params[] = {
/* XXX: should we drop the ws prefix? */
{ "wss_port", INT_PARAM, &wss_port },
Expand Down

0 comments on commit 11ab64c

Please sign in to comment.