[evince] libdocument: debug: Fix -Wstrict-prototypes warnings



commit 26023a58463d607c03b6a7a4e97bede4a956aad5
Author: Christian Persch <chpe gnome org>
Date:   Sat Jun 8 23:57:55 2013 +0200

    libdocument: debug: Fix -Wstrict-prototypes warnings
    
    Don't use old-style function declarations.

 libdocument/ev-debug.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libdocument/ev-debug.c b/libdocument/ev-debug.c
index 4750c9d..344510f 100644
--- a/libdocument/ev-debug.c
+++ b/libdocument/ev-debug.c
@@ -47,7 +47,7 @@ static EvProfileSection ev_profile = EV_NO_PROFILE;
 static GHashTable *timers = NULL;
 
 static void
-debug_init ()
+debug_init (void)
 {
        if (g_getenv ("EV_DEBUG") != NULL) {
                /* enable all debugging */
@@ -60,7 +60,7 @@ debug_init ()
 }
 
 static void
-profile_init ()
+profile_init (void)
 {
        if (g_getenv ("EV_PROFILE") != NULL) {
                /* enable all profiling */
@@ -79,14 +79,14 @@ profile_init ()
 }
 
 void
-_ev_debug_init ()
+_ev_debug_init (void)
 {
        debug_init ();
        profile_init ();
 }
 
 void
-_ev_debug_shutdown ()
+_ev_debug_shutdown (void)
 {
        if (timers) {
                g_hash_table_destroy (timers);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]