From f30f95183be08bcbf449fe7f632d84c21ac8dad6 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> 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. --- mysys/default_modify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mysys/default_modify.c') 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; -- cgit v1.2.1