aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-session-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-session-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-session-test.c')
-rw-r--r--tests/ephy-session-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ephy-session-test.c b/tests/ephy-session-test.c
index 4a070aa49..b07eacc8e 100644
--- a/tests/ephy-session-test.c
+++ b/tests/ephy-session-test.c
@@ -42,7 +42,7 @@ const char *session_data =
"</session>";
static void
-test_ephy_session_load ()
+test_ephy_session_load (void)
{
EphySession *session;
gboolean ret;
@@ -77,7 +77,7 @@ const char *session_data_empty =
"";
static void
-test_ephy_session_load_empty_session ()
+test_ephy_session_load_empty_session (void)
{
EphySession *session;
gboolean ret;
@@ -127,7 +127,7 @@ const char *session_data_many_windows =
"</session>";
static void
-test_ephy_session_load_many_windows ()
+test_ephy_session_load_many_windows (void)
{
EphySession *session;
gboolean ret;