diff options
author | unknown <hf@deer.(none)> | 2003-08-28 13:39:46 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-08-28 13:39:46 +0500 |
commit | 36636e82786886bb4c41ec2e9cf3fb27ef42511f (patch) | |
tree | 2fa128cdda2d8d4fedbbc2d8a75ea63787e186bd /libmysqld | |
parent | c2d54add7ede5e2e4610c43eeff6aa6f055cf197 (diff) | |
download | mariadb-git-36636e82786886bb4c41ec2e9cf3fb27ef42511f.tar.gz |
SCRUM:
Fixed some mess with STDCALL in function's declarations
include/mysql.h:
That definitions are more correct
libmysqld/lib_sql.cc:
should be declared as STDCALL
libmysqld/libmysqld.c:
should be declared as STDCALL
sql-common/client.c:
should be declared as STDCALL
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 | ||||
-rw-r--r-- | libmysqld/libmysqld.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index aaa31908360..05c36f353fd 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -48,7 +48,7 @@ static bool check_user(THD *thd, enum_server_command command, char * get_mysql_home(){ return mysql_home;}; char * get_mysql_real_data_home(){ return mysql_real_data_home;}; -my_bool +my_bool STDCALL emb_advanced_command(MYSQL *mysql, enum enum_server_command command, const char *header, ulong header_length, const char *arg, ulong arg_length, my_bool skip_check) diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index 357c13c5826..48b3397ee7c 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -59,7 +59,7 @@ #endif void free_old_query(MYSQL *mysql); -my_bool +my_bool STDCALL emb_advanced_command(MYSQL *mysql, enum enum_server_command command, const char *header, ulong header_length, const char *arg, ulong arg_length, my_bool skip_check); @@ -169,7 +169,7 @@ static inline int mysql_init_charset(MYSQL *mysql) else the lengths are calculated from the offset between pointers. **************************************************************************/ -static void emb_fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count) +static void STDCALL emb_fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count) { MYSQL_ROW end; |