aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/pdm-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 3cb8d6af5..0bc61973d 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -171,7 +171,7 @@ typedef struct
#ifdef HAVE_WEBKIT2
static WebKitCookieManager *
-get_cookie_manager ()
+get_cookie_manager (void)
{
WebKitWebContext *web_context;
@@ -180,7 +180,7 @@ get_cookie_manager ()
}
#else
static SoupCookieJar*
-get_cookie_jar ()
+get_cookie_jar (void)
{
SoupSession* session;
@@ -243,7 +243,7 @@ got_network_passwords_list_cb (GnomeKeyringResult result,
}
static void
-_ephy_pdm_delete_all_passwords ()
+_ephy_pdm_delete_all_passwords (void)
{
gnome_keyring_list_item_ids (GNOME_KEYRING_DEFAULT,
got_network_passwords_list_cb,