aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-web-view-test.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-11-05 18:28:27 +0800
committerXan Lopez <xan@igalia.com>2012-11-05 18:31:58 +0800
commit1fd2fe9efbdc3bb26786b8efecf5f8b60e430ac6 (patch)
tree2995abcb8dc23b2ddee8a68faa7edbc9c9dfe610 /tests/ephy-web-view-test.c
parent303bf9e2b4b68b84c1a79c3c04b810682f34c7f3 (diff)
downloadgsoc2013-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-web-view-test.c')
-rw-r--r--tests/ephy-web-view-test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index 294a8657c..d00189087 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -161,7 +161,7 @@ static const URLTest test_load_url[] = {
/* Tests that EphyWebView is successfully loading the given URL. */
static void
-test_ephy_web_view_load_url ()
+test_ephy_web_view_load_url (void)
{
int i;
@@ -234,7 +234,7 @@ static const RegexTest test_non_search_regex[] = {
};
static void
-test_ephy_web_view_non_search_regex ()
+test_ephy_web_view_non_search_regex (void)
{
GRegex *regex_non_search, *regex_domain;
GError *error = NULL;
@@ -296,7 +296,7 @@ static struct {
};
static void
-test_ephy_web_view_normalize_or_autosearch ()
+test_ephy_web_view_normalize_or_autosearch (void)
{
int i;
EphyWebView *view;
@@ -345,7 +345,7 @@ quit_main_loop_when_load_finished (WebKitWebView *view, GParamSpec *spec, GMainL
#endif
static void
-test_ephy_web_view_provisional_load_failure_updates_back_forward_list ()
+test_ephy_web_view_provisional_load_failure_updates_back_forward_list (void)
{
GMainLoop *loop;
EphyWebView *view;
@@ -401,7 +401,7 @@ visit_url_cb (EphyHistoryService *service,
}
static void
-test_ephy_web_view_error_pages_not_stored_in_history ()
+test_ephy_web_view_error_pages_not_stored_in_history (void)
{
GMainLoop *loop;
EphyWebView *view;