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-bookmarks-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-bookmarks-test.c')
-rw-r--r-- | tests/ephy-bookmarks-test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ephy-bookmarks-test.c b/tests/ephy-bookmarks-test.c index 03bdcf07f..ca1f780fe 100644 --- a/tests/ephy-bookmarks-test.c +++ b/tests/ephy-bookmarks-test.c @@ -27,7 +27,7 @@ const char* bookmarks_paths[] = { "ephy-bookmarks.xml", "bookmarks.rdf", NULL }; static void -clear_bookmark_files () +clear_bookmark_files (void) { GFile *file; char *path; @@ -46,7 +46,7 @@ clear_bookmark_files () } static void -test_ephy_bookmarks_create () +test_ephy_bookmarks_create (void) { EphyBookmarks *bookmarks; @@ -58,7 +58,7 @@ test_ephy_bookmarks_create () } static void -test_ephy_bookmarks_add () +test_ephy_bookmarks_add (void) { EphyBookmarks *bookmarks; EphyNode *node, *result; @@ -77,7 +77,7 @@ test_ephy_bookmarks_add () } static void -test_ephy_bookmarks_set_address () +test_ephy_bookmarks_set_address (void) { EphyBookmarks *bookmarks; EphyNode *node; |