OSDN Git Service

* fix-header.c (recognized_function): Also fix prototypes for
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 2000 02:25:05 +0000 (02:25 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 2000 02:25:05 +0000 (02:25 +0000)
functions taking "void".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32206 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fix-header.c

index ff29304..e1e14c3 100644 (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
index aaad9de..9d18802 100644 (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,