summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-09-08 10:33:17 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-09-08 10:33:17 +0400
commit5a6d207009278c2a6038d5500ac765d3b84c05a7 (patch)
tree72ca570dc7eac50741ddf0206cd97c3fcb2f1753
parentb2cca80fc4292b65bf66343672e8baeb05e707ac (diff)
downloadmariadb-git-bb-10.7-hf-mdev-19275.tar.gz
STDCALL fixed.
-rw-r--r--include/mysql/service_sql.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/mysql/service_sql.h b/include/mysql/service_sql.h
index 5050793f655..22770883be2 100644
--- a/include/mysql/service_sql.h
+++ b/include/mysql/service_sql.h
@@ -45,23 +45,23 @@ extern "C" {
#endif
extern struct sql_service_st {
- MYSQL * STDCALL (*mysql_init)(MYSQL *mysql);
+ MYSQL *(STDCALL *mysql_init)(MYSQL *mysql);
MYSQL *(*mysql_real_connect_local)(MYSQL *mysql,
const char *host, const char *user, const char *db,
unsigned long clientflag);
- MYSQL * STDCALL (*mysql_real_connect)(MYSQL *mysql, const char *host,
+ MYSQL *(STDCALL *mysql_real_connect)(MYSQL *mysql, const char *host,
const char *user, const char *passwd, const char *db, unsigned int port,
const char *unix_socket, unsigned long clientflag);
- unsigned int STDCALL (*mysql_errno)(MYSQL *mysql);
- const char * STDCALL (*mysql_error)(MYSQL *mysql);
- int STDCALL (*mysql_real_query)(MYSQL *mysql, const char *q,
+ unsigned int(STDCALL *mysql_errno)(MYSQL *mysql);
+ const char *(STDCALL *mysql_error)(MYSQL *mysql);
+ int (STDCALL *mysql_real_query)(MYSQL *mysql, const char *q,
unsigned long length);
- my_ulonglong STDCALL (*mysql_affected_rows)(MYSQL *mysql);
- my_ulonglong STDCALL (*mysql_num_rows)(MYSQL_RES *res);
- MYSQL_RES * STDCALL (*mysql_store_result)(MYSQL *mysql);
- void STDCALL (*mysql_free_result)(MYSQL_RES *result);
- MYSQL_ROW STDCALL (*mysql_fetch_row)(MYSQL_RES *result);
- void STDCALL (*mysql_close)(MYSQL *sock);
+ my_ulonglong (STDCALL *mysql_affected_rows)(MYSQL *mysql);
+ my_ulonglong (STDCALL *mysql_num_rows)(MYSQL_RES *res);
+ MYSQL_RES *(STDCALL *mysql_store_result)(MYSQL *mysql);
+ void (STDCALL *mysql_free_result)(MYSQL_RES *result);
+ MYSQL_ROW (STDCALL *mysql_fetch_row)(MYSQL_RES *result);
+ void (STDCALL *mysql_close)(MYSQL *sock);
} *sql_service;
#ifdef MYSQL_DYNAMIC_PLUGIN