diff options
Fix a ton of 'warning: function declaration isn’t a prototype'
New warning flags have been added to gnome-common recently, and we
were getting this a lot. Turns out in C 'foo ()' is not the same than
'foo (void)'; the first just means that no information is given about
the number of arguments, the second means the function has exactly
zero arguments, so add the 'void' thing all over the place when
needed.
Diffstat (limited to 'tests/ephy-completion-model-test.c')
-rw-r--r-- | tests/ephy-completion-model-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ephy-completion-model-test.c b/tests/ephy-completion-model-test.c index d02377d5f..b20ecb5f2 100644 --- a/tests/ephy-completion-model-test.c +++ b/tests/ephy-completion-model-test.c @@ -28,7 +28,7 @@ #include "ephy-shell.h" static void -test_ephy_completion_model_create () +test_ephy_completion_model_create (void) { EphyCompletionModel *model; model = ephy_completion_model_new (); @@ -51,7 +51,7 @@ update_empty_cb (EphyHistoryService *service, } static void -test_ephy_completion_model_update_empty () +test_ephy_completion_model_update_empty (void) { EphyCompletionModel *model; GMainLoop *loop = NULL; |