[grilo] tests: fix compilation warnings in metadata_source



commit d86c8fbc9bae4f4962dc475209675539231499c4
Author: Damien Lespiau <damien lespiau intel com>
Date:   Fri Nov 12 15:24:00 2010 +0000

    tests: fix compilation warnings in metadata_source
    
    Remove the const before the GList *, shutting down the warnings,
    make the global variables static.
    
    Signed-off-by: Damien Lespiau <damien lespiau intel com>

 tests/metadata_source.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/metadata_source.c b/tests/metadata_source.c
index f636083..cb009a0 100644
--- a/tests/metadata_source.c
+++ b/tests/metadata_source.c
@@ -22,8 +22,8 @@
 #include <grilo.h>
 #include <stdbool.h>
 
-GList *sources;
-const GList *keys;
+static GList *sources;
+static GList *keys;
 
 /* #define DUMP 1 */
 



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