eolian: use void to force empty function parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.
This commit is contained in:
Stefan Schmidt 2015-11-26 17:25:06 +01:00
parent f356af17c9
commit 1d34318938
1 changed files with 2 additions and 2 deletions

View File

@ -266,8 +266,8 @@ struct _Eolian_Variable
Eina_Bool is_extern :1;
};
int database_init();
int database_shutdown();
int database_init(void);
int database_shutdown(void);
char *database_class_to_filename(const char *cname);
Eina_Bool database_validate(void);