summaryrefslogtreecommitdiff
path: root/mysys/default_modify.c
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-05-19 14:02:12 +0400
committerunknown <konstantin@mysql.com>2005-05-19 14:02:12 +0400
commitf87f045065197aa036ebf023cd8a6da76e23e013 (patch)
treee402011a057d0c600410556ebe7dd8e4aaded194 /mysys/default_modify.c
parent252572224580b0a5f6737bd0b96830ad44ad248e (diff)
downloadmariadb-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.c6
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;