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

From-SVN: r67303
This commit is contained in:
Andreas Jaeger 2003-06-01 18:48:05 +02:00 committed by Andreas Jaeger
parent a3033f34cf
commit fa10d367bd
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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];