VirtGL: Fix warning in server_stub.c
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 4 Sep 2013 09:09:43 +0000 (11:09 +0200)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 11 Sep 2013 09:15:38 +0000 (18:15 +0900)
server_stub.c:7812:7: warning: function declaration
isn’t a prototype [-Wstrict-prototypes]

Change-Id: I90f3a97be0ed401544239c64f9ab74cba27395b1

tizen/src/hw/parse_gl_h.c

index be7109b..277a817 100644 (file)
@@ -1130,6 +1130,8 @@ static void fprintf_prototype_args(FILE* f, FuncDesc* funcDesc)
     else
       fprintf(f, "%s arg_%d", funcDesc->args[j], j);
   }
+  if (j == 0)
+      fprintf(f, "void");
 }
 
 int main(int argc, char* argv[])