summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-08-23 15:03:31 +0300
committerMonty <monty@mariadb.org>2016-08-23 15:03:31 +0300
commit4da2b83af712492e4c3cb85e0005cde8511fa810 (patch)
tree8bd98ff55c522d7a99b1ae94a8f84d18567c4ab4 /mysys
parenta5051cd3b2a46eb01ef9afdb1d798bdf6db715ab (diff)
downloadmariadb-git-4da2b83af712492e4c3cb85e0005cde8511fa810.tar.gz
Fixed compiler error and some warnings on windows
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_error.c b/mysys/my_error.c
index 5d16091e0be..44d112bc049 100644
--- a/mysys/my_error.c
+++ b/mysys/my_error.c
@@ -217,7 +217,7 @@ void my_message(uint error, const char *str, register myf MyFlags)
@retval != 0 Error
*/
-int my_error_register(const char** (*get_errmsgs) (), uint first, uint last)
+int my_error_register(const char** (*get_errmsgs) (void), uint first, uint last)
{
struct my_err_head *meh_p;
struct my_err_head **search_meh_pp;