mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 12:37:32 +08:00
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:
parent
363e6541e3
commit
ad3ffa443a
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user