Skip to content

Commit

Permalink
db_postgres: align functions export to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu committed Apr 8, 2019
1 parent ee7b28b commit ec42ed6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/db_postgres/db_postgres.c
Expand Up @@ -46,10 +46,9 @@ static int mod_init(void);
/*
* PostgreSQL database module interface
*/

static cmd_export_t cmds[]={
{"db_bind_api", (cmd_function)db_postgres_bind_api, 0, 0, 0, 0},
{0,0,0,0,0,0}
static cmd_export_t cmds[] = {
{"db_bind_api", (cmd_function)db_postgres_bind_api, {{0,0,0}},0},
{0,0,{{0,0,0}},0}
};

/*
Expand Down

0 comments on commit ec42ed6

Please sign in to comment.