diff options
author | unknown <konstantin@mysql.com> | 2005-05-19 14:02:12 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2005-05-19 14:02:12 +0400 |
commit | f87f045065197aa036ebf023cd8a6da76e23e013 (patch) | |
tree | e402011a057d0c600410556ebe7dd8e4aaded194 /mysys/default_modify.c | |
parent | 252572224580b0a5f6737bd0b96830ad44ad248e (diff) | |
download | mariadb-git-f87f045065197aa036ebf023cd8a6da76e23e013.tar.gz |
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).
Diffstat (limited to 'mysys/default_modify.c')
-rw-r--r-- | mysys/default_modify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/default_modify.c b/mysys/default_modify.c index c0589f54132..3476b8628cf 100644 --- a/mysys/default_modify.c +++ b/mysys/default_modify.c @@ -37,9 +37,9 @@ #define NEWLINE_LEN 1 #endif -uint modify_defaults_file(const char *file_location, const char *option, - const char *option_value, - const char *section_name, int remove_option) +int modify_defaults_file(const char *file_location, const char *option, + const char *option_value, + const char *section_name, int remove_option) { FILE *cnf_file; struct stat file_stat; |