Skip to content

Commit

Permalink
proto_ws: 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 19e3869 commit ae1923b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/proto_ws/proto_ws.c
Expand Up @@ -107,11 +107,9 @@ static int ws_port = WS_DEFAULT_PORT;


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


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

0 comments on commit ae1923b

Please sign in to comment.