You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
[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.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user