From 1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 5 Nov 2012 11:28:27 +0100 Subject: =?UTF-8?q?Fix=20a=20ton=20of=20'warning:=20function=20declaration?= =?UTF-8?q?=20isn=E2=80=99t=20a=20prototype'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/ephy-embed-single-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/ephy-embed-single-test.c') diff --git a/tests/ephy-embed-single-test.c b/tests/ephy-embed-single-test.c index e9e5c0a70..0bd9a3047 100644 --- a/tests/ephy-embed-single-test.c +++ b/tests/ephy-embed-single-test.c @@ -32,7 +32,7 @@ #include static void -test_embed_single_new () +test_embed_single_new (void) { EphyEmbedSingle *single; @@ -43,7 +43,7 @@ test_embed_single_new () } static void -test_embed_single_get_from_shell () +test_embed_single_get_from_shell (void) { EphyEmbedSingle *single; @@ -52,7 +52,7 @@ test_embed_single_get_from_shell () } static void -test_embed_single_form_auth () +test_embed_single_form_auth (void) { EphyEmbedSingle *single; GSList *results = NULL; -- cgit v1.2.3