glib-init: fix redundant-decls of g_mem_gc_friendly
authorDjalal Harouni <tixxdz@opendz.org>
Sun, 20 Oct 2013 13:15:25 +0000 (14:15 +0100)
committerDan Winship <danw@gnome.org>
Sun, 20 Oct 2013 19:42:45 +0000 (15:42 -0400)
commit0e4d6664471cd3d6157595d868542708323a97f7
treea58e5bd2aec6884adb3dea3190effeed9093c70b
parentfef69bc65516ad23615aaa0272f4aa2cb5fe30bf
glib-init: fix redundant-decls of g_mem_gc_friendly

Currently g_mem_gc_friendly is declared in both gmem.h and glib-init.h
files, we will have reports on each unit that include these two files.

This patch removes the redundant declaration from glib-init.h

Since g_mem_gc_friendly is related to gmem.h and was first declared in
this header which also exports it via glib.h, then declare it in gmem.h

Other files already include gmem.h: garray.c and gslice.c, no need to
change anything.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
https://bugzilla.gnome.org/show_bug.cgi?id=710345
glib/glib-init.c
glib/glib-init.h