VirtGL: Fix warnings about g_malloc, g_free, g_realloc.
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 4 Sep 2013 09:51:46 +0000 (11:51 +0200)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 11 Sep 2013 09:16:07 +0000 (18:16 +0900)
commit33ac5b9bcc00452eebb307fc50584499178aa8ae
treee2f2908328d9f665ac6b69986b58e15f99ab14c3
parent7d38c0e1d6e4c2d37ae0ed0aa693afe5b5bc6008
VirtGL: Fix warnings about g_malloc, g_free, g_realloc.

There are multiple definitions of these funcs, it induces warnings.
In file included from opengl_exec.c:64:0:
range_alloc.h:29:7: attention : redundant redeclaration of ‘g_malloc’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:72:10: note: previous declaration of ‘g_malloc’ was here
tizen/src/hw/range_alloc.h:30:7: attention : redundant redeclaration of ‘g_realloc’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:74:10: note: previous declaration of ‘g_realloc’ was here
tizen/src/hw/range_alloc.h:31:6: attention : redundant redeclaration of ‘g_free’ [-Wredundant-decls]
/usr/include/glib-2.0/glib/gmem.h:70:7: note: previous declaration of ‘g_free’ was here
tizen/src/hw/opengl_exec.c:114:7: attention : redundant redeclaration of ‘g_malloc’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:29:7: note: previous declaration of ‘g_malloc’ was here
tizen/src/hw/opengl_exec.c:115:7: attention : redundant redeclaration of ‘g_realloc’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:30:7: note: previous declaration of ‘g_realloc’ was here
tizen/src/hw/opengl_exec.c:116:6: attention : redundant redeclaration of ‘g_free’ [-Wredundant-decls]
tizen/src/hw/range_alloc.h:31:6: note: previous declaration of ‘g_free’ was here

Change-Id: I9e2557851216a44f970e83dd8ed16cb0e5e5f0d6
tizen/src/hw/opengl_exec.c
tizen/src/hw/range_alloc.h