From 060a65601bfc01536898208cb29b34eaee86d6e3 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Fri, 26 Aug 2022 21:47:45 +0300 Subject: [PATCH] [Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration. --- src/include/switch_odbc.h | 2 +- src/switch_odbc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }