[grilo] grl-inspect: Fix a couple of warnings



commit 68a5d15c86d99393c173fe3254fcc4d7a228bdd7
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Jan 15 10:59:57 2013 +0000

    grl-inspect: Fix a couple of warnings
    
    Use void parameter for non-parametrized functions.

 tools/grilo-inspect/grl-inspect.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/grilo-inspect/grl-inspect.c b/tools/grilo-inspect/grl-inspect.c
index c9083c3..6747a0e 100644
--- a/tools/grilo-inspect/grl-inspect.c
+++ b/tools/grilo-inspect/grl-inspect.c
@@ -56,7 +56,7 @@ static GOptionEntry entries[] = {
 };
 
 static void
-list_all_sources ()
+list_all_sources (void)
 {
   GList *sources = NULL;
   GList *sources_iter;
@@ -92,7 +92,7 @@ print_keys (const GList *keys)
 }
 
 static void
-print_version()
+print_version (void)
 {
   g_print ("grl-inspect-" GRL_MAJORMINOR " version " VERSION "\n");
   g_print ("Grilo " VERSION "\n");



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