[PATCH 2/2] tests: Fix compilation warnings in metadata_source
- From: Damien Lespiau <damien lespiau gmail com>
- To: grilo-list menubar gnome org, grilo-list gnome org
- Cc: Damien Lespiau <damien lespiau intel com>
- Subject: [PATCH 2/2] tests: Fix compilation warnings in metadata_source
- Date: Fri, 12 Nov 2010 15:24:00 +0000
From: Damien Lespiau <damien lespiau intel com>
Remove the const before the GList *, shutting down th 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 */
--
1.7.2.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]