From: Frédéric Dalleau Date: Wed, 4 Sep 2013 09:12:01 +0000 (+0200) Subject: VirtGL: Fix warning about server_stub.c X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~749^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1493db1a32a7a24fc852688295c695051094380;p=sdk%2Femulator%2Fqemu.git VirtGL: Fix warning about server_stub.c server_stub.c:3:6: warning: no previous prototype for ‘execute_func’ [-Wmissing-prototypes] Change-Id: I6c33eac3ff114398b2b602fbe69be664ee39796f --- diff --git a/tizen/src/hw/parse_gl_h.c b/tizen/src/hw/parse_gl_h.c index 277a8177ec..f1b1b65447 100644 --- a/tizen/src/hw/parse_gl_h.c +++ b/tizen/src/hw/parse_gl_h.c @@ -1274,7 +1274,7 @@ int main(int argc, char* argv[]) fprintf(header, " GL_N_CALLS\n};\n"); - fprintf(server_stub, "void execute_func(int func_number, void **args, union gl_ret_type *pret)\n"); + fprintf(server_stub, "static void execute_func(int func_number, void **args, union gl_ret_type *pret)\n"); fprintf(server_stub, "{\n"); fprintf(server_stub, " switch(func_number)\n"); fprintf(server_stub, " {\n");