diff options
author | Xan Lopez <xan@igalia.com> | 2012-11-05 18:28:27 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-11-05 18:31:58 +0800 |
commit | 1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6 (patch) | |
tree | 2995abcb8dc23b2ddee8a68faa7edbc9c9dfe610 /tests/ephy-embed-single-test.c | |
parent | 303bf9e2b4b68b84c1a79c3c04b810682f34c7f3 (diff) | |
download | gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar.gz gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar.bz2 gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar.lz gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar.xz gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.tar.zst gsoc2013-epiphany-1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6.zip |
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-embed-single-test.c')
-rw-r--r-- | tests/ephy-embed-single-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <gtk/gtk.h> 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; |