Commit 59b41b69 by Marek Polacek Committed by Marek Polacek

* jvgenmain.c (main): Provide declarations for JvRunMain{,Name}.

From-SVN: r215969
parent 8ccda8bc
2014-10-07 Marek Polacek <polacek@redhat.com>
* jvgenmain.c (main): Provide declarations for JvRunMain{,Name}.
2014-07-08 Mark Wielaard <mjw@redhat.com>
* builtins.c (putVolatile_builtin): Use build_qualified_type
......
......@@ -127,6 +127,10 @@ main (int argc, char **argv)
/* At this point every element of ARGV from 1 to LAST_ARG is a `-D'
option. Process them appropriately. */
fprintf (stream, "extern const char **_Jv_Compiler_Properties;\n");
if (indirect)
fprintf (stream, "extern void JvRunMainName ();\n");
else
fprintf (stream, "extern void JvRunMain ();\n");
fprintf (stream, "static const char *props[] =\n{\n");
for (i = 1; i < last_arg; ++i)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment