fix-header.c (recognized_function): Also fix prototypes for functions taking "void".

* fix-header.c (recognized_function): Also fix prototypes for
	functions taking "void".

From-SVN: r32206
This commit is contained in:
Kaveh R. Ghazi 2000-02-27 02:25:05 +00:00 committed by Kaveh Ghazi
parent 363e6541e3
commit ad3ffa443a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fix-header.c (recognized_function): Also fix prototypes for
functions taking "void".
2000-02-26 Geoff Keating <geoffk@cygnus.com>
* reload1.c (do_output_reload): Check reg_reloaded_valid before

View File

@ -569,7 +569,7 @@ recognized_function (fname, fname_length,
if (fn == NULL)
return;
if (fn->params[0] == '\0' || strcmp (fn->params, "void") == 0)
if (fn->params[0] == '\0')
return;
/* We only have a partial function declaration,