Re: [PATCH 2/2] tests: Fix compilation warnings in metadata_source
- From: Víctor M. Jáquez L. <vjaquez igalia com>
- To: Damien Lespiau <damien lespiau gmail com>
- Cc: grilo-list menubar gnome org, grilo-list gnome org, Damien Lespiau <damien lespiau intel com>
- Subject: Re: [PATCH 2/2] tests: Fix compilation warnings in metadata_source
- Date: Fri, 12 Nov 2010 17:00:34 +0100
On Fri, Nov 12, 2010 at 03:24:00PM +0000, Damien Lespiau wrote:
> 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>
Pushed
> ---
> 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]