mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-34348: Fix casting related to plugins
Partial commit of the greater MDEV-34348 scope. MDEV-34348: MariaDB is violating clang-16 -Wcast-function-type-strict Reviewed By: ============ Marko Mäkelä <marko.makela@mariadb.com>
This commit is contained in:
@ -152,7 +152,7 @@ typedef struct st_plugin_int **plugin_ref;
|
||||
#define plugin_equals(p1,p2) ((p1) && (p2) && (p1)[0] == (p2)[0])
|
||||
#endif
|
||||
|
||||
typedef int (*plugin_type_init)(struct st_plugin_int *);
|
||||
typedef int (*plugin_type_init)(void *);
|
||||
|
||||
extern I_List<i_string> *opt_plugin_load_list_ptr;
|
||||
extern char *opt_plugin_dir_ptr;
|
||||
|
Reference in New Issue
Block a user