From 70843c004c4c29c433779b3056858e3cf3ced517 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Tue, 7 Jul 2020 11:56:47 -0400 Subject: [PATCH] [CONC-381] Fix strict prototypes warning Projects compiled with -Wstrict-prototypes will emit a warning. C requires that functions with arguments be prototyped as foo(void), not foo(). This commit fixes the warning. --- include/mysql.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mysql.h b/include/mysql.h index 17aab5ea..8aeb4317 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -459,7 +459,7 @@ typedef struct character_set const char *license; \ void *mariadb_api; \ int (*init)(char *, size_t, int, va_list); \ - int (*deinit)(); \ + int (*deinit)(void); \ int (*options)(const char *option, const void *); struct st_mysql_client_plugin {