Replaced "(void)" with "()" in subroutine definitions in GLSL profile. trunk
authorRyan C. Gordon <icculus@icculus.org>
Fri, 04 Apr 2008 08:44:28 -0400
branchtrunk
changeset 89 c7f451522522
parent 88 7c16309ae3b0
child 90 c4ef90fd0a56
Replaced "(void)" with "()" in subroutine definitions in GLSL profile.
mojoshader.c
--- a/mojoshader.c	Fri Apr 04 08:39:33 2008 -0400
+++ b/mojoshader.c	Fri Apr 04 08:44:28 2008 -0400
@@ -1977,7 +1977,7 @@
     // !!! FIXME: it would be nice if we could determine if a function is
     // !!! FIXME:  only called once and, if so, forcibly inline it.
 
-    output_line(ctx, "void %s(void)", labelstr);
+    output_line(ctx, "void %s()", labelstr);
     output_line(ctx, "{");
     ctx->indent++;
 } // emit_GLSL_LABEL