diff --git a/src/include/switch_odbc.h b/src/include/switch_odbc.h index b640f43da9..d36f3742f6 100644 --- a/src/include/switch_odbc.h +++ b/src/include/switch_odbc.h @@ -51,7 +51,7 @@ typedef enum { SWITCH_ODBC_FAIL = -1 } switch_odbc_status_t; -SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip(); +SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip(void); SWITCH_DECLARE(switch_odbc_handle_t *) switch_odbc_handle_new(const char *dsn, const char *username, const char *password); SWITCH_DECLARE(void) switch_odbc_set_num_retries(switch_odbc_handle_t *handle, int num_retries); SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_disconnect(switch_odbc_handle_t *handle); diff --git a/src/switch_odbc.c b/src/switch_odbc.c index be42080a70..da134811d3 100644 --- a/src/switch_odbc.c +++ b/src/switch_odbc.c @@ -64,7 +64,7 @@ struct switch_odbc_handle { uint8_t skip_autocommit_flip = 0; -SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip() +SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip(void) { skip_autocommit_flip = 1; }