From f87f045065197aa036ebf023cd8a6da76e23e013 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 19 May 2005 14:02:12 +0400 Subject: Change the return type back to int (modify_defaults_file). This fixes a compilation failure in mysql_com.h, which doesn't have 'uint' alias visibile. Maybe worth while changing to unsigned int, but the rest of functions that work with defaults files return int. include/my_sys.h: Change the return type back to int (modify_defaults_file). include/mysql_com.h: Change the return type back to int (modify_defaults_file). mysys/default_modify.c: Change the return type back to int (modify_defaults_file). --- include/mysql_com.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mysql_com.h') diff --git a/include/mysql_com.h b/include/mysql_com.h index a49bc01da8a..c608a2e7724 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -417,9 +417,9 @@ const char *mysql_errno_to_sqlstate(unsigned int mysql_errno); /* Some other useful functions */ my_bool my_init(void); -extern uint modify_defaults_file(const char *file_location, const char *option, - const char *option_value, - const char *section_name, int remove_option); +extern int modify_defaults_file(const char *file_location, const char *option, + const char *option_value, + const char *section_name, int remove_option); int load_defaults(const char *conf_file, const char **groups, int *argc, char ***argv); my_bool my_thread_init(void); -- cgit v1.2.1