From: Frédéric Dalleau Date: Wed, 4 Sep 2013 09:05:58 +0000 (+0200) Subject: VirtGL: Fix warnings about void missing in params X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~749^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3bd61cb110e081e950a46b671af0aa8dd538a95;p=sdk%2Femulator%2Fqemu.git VirtGL: Fix warnings about void missing in params Change-Id: If1f785276f758bb750164a87443965d2ff10a1bf --- diff --git a/tizen/src/hw/opengl_exec.c b/tizen/src/hw/opengl_exec.c index 8f3a91db76..c18bcceab0 100644 --- a/tizen/src/hw/opengl_exec.c +++ b/tizen/src/hw/opengl_exec.c @@ -346,7 +346,8 @@ typedef struct { static ProcessState processes[MAX_HANDLED_PROCESS]; -static char *strip_extensions(const char *avail, const char *ext[]) { +static char *strip_extensions(const char *avail, const char *ext[]) +{ char *pos, *supported, *srcp; supported = (char *)g_malloc(strlen(avail) + 2); @@ -385,7 +386,8 @@ static const char *glx_ext_supported[] = { 0 }; -static char *supported_glx_extensions() { +static char *supported_glx_extensions(void) +{ static char *supported; if(!supported) @@ -519,7 +521,8 @@ static const char *gl_ext_supported[] = { 0 }; -static char *compute_gl_extensions() { +static char *compute_gl_extensions(void) +{ static char *supported; if(!supported) @@ -642,7 +645,7 @@ static inline void resize_surface(ProcessState *process, QGloSurface *qsurface, } -void init_process_tab() +static void init_process_tab(void) { memset(processes, 0, sizeof(processes)); }