VirtGL: Fix warning about server_stub.c
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 4 Sep 2013 09:12:01 +0000 (11:12 +0200)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 11 Sep 2013 09:15:47 +0000 (18:15 +0900)
server_stub.c:3:6: warning: no previous prototype
for ‘execute_func’ [-Wmissing-prototypes]

Change-Id: I6c33eac3ff114398b2b602fbe69be664ee39796f

tizen/src/hw/parse_gl_h.c

index 277a817..f1b1b65 100644 (file)
@@ -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");