Commit fa10d367 by Andreas Jaeger Committed by Andreas Jaeger

* gen-protos.c (main): Revert patch to check for argument.

From-SVN: r67303
parent a3033f34
2003-06-01 Andreas Jaeger <aj@suse.de>
* gen-protos.c (main): Revert patch to check for argument.
2003-06-01 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/11044
......
......@@ -137,9 +137,6 @@ main (int argc, char **argv)
sstring linebuf;
struct fn_decl fn_decl;
if (argc <= 1)
fatal ("no input file name");
i = strlen (argv[0]);
while (i > 0 && argv[0][i-1] != '/') --i;
progname = &argv[0][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