[Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration.

This commit is contained in:
Andrey Volk 2022-08-26 21:47:45 +03:00
parent 2b8f59e8ff
commit 060a65601b
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}