aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-file-helpers-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-file-helpers-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-file-helpers-test.c')
-rw-r--r--tests/ephy-file-helpers-test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
index 6830eab0b..dcb6cc539 100644
--- a/tests/ephy-file-helpers-test.c
+++ b/tests/ephy-file-helpers-test.c
@@ -42,7 +42,7 @@ static const FileInitTest private_tests[] =
};
static void
-test_ephy_file_helpers_init ()
+test_ephy_file_helpers_init (void)
{
int i;
@@ -124,7 +124,7 @@ static const DownloadsDirTest downloads_tests[] =
};
static void
-test_ephy_file_get_downloads_dir ()
+test_ephy_file_get_downloads_dir (void)
{
int i;
@@ -177,7 +177,7 @@ static const DirTest dir_tests[] =
};
static void
-test_ephy_file_create_delete_dir ()
+test_ephy_file_create_delete_dir (void)
{
int i;
@@ -209,7 +209,7 @@ test_ephy_file_create_delete_dir ()
}
static void
-test_ephy_file_desktop_dir ()
+test_ephy_file_desktop_dir (void)
{
char *desktop_dir;
const char *xdg_desktop;
@@ -226,7 +226,7 @@ test_ephy_file_desktop_dir ()
}
static void
-test_ephy_file_create_delete_tmp ()
+test_ephy_file_create_delete_tmp (void)
{
char *tmp_file = NULL;
char *tmp_path = NULL;
@@ -291,7 +291,7 @@ test_ephy_file_create_delete_tmp ()
}
static void
-test_ephy_file_switch_temp_file ()
+test_ephy_file_switch_temp_file (void)
{
char *tmp_file;
@@ -372,7 +372,7 @@ static const SanitizeFilenameTest sanitize_filename_tests[] =
};
static void
-test_ephy_sanitize_filename ()
+test_ephy_sanitize_filename (void)
{
guint i;