summaryrefslogtreecommitdiff
path: root/mysys/default_modify.c
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-05-19 14:02:12 +0400
committerkonstantin@mysql.com <>2005-05-19 14:02:12 +0400
commitf30f95183be08bcbf449fe7f632d84c21ac8dad6 (patch)
treee402011a057d0c600410556ebe7dd8e4aaded194 /mysys/default_modify.c
parentc7fd7a3c6ae6a46e1c3619a8f4abb0ae4314b71a (diff)
downloadmariadb-git-f30f95183be08bcbf449fe7f632d84c21ac8dad6.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.
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;