summaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-27 02:25:05 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-27 02:25:05 +0000
commit16fbc4c30e7f6c99fe615e49daef6b8475e969a5 (patch)
treecff3300e49b0254b68c36922ca6a543bead51428 /gcc/fix-header.c
parentec7ad4c20cdfe339f5f02f9d83f0b28d0a33b2a6 (diff)
downloadgcc-16fbc4c30e7f6c99fe615e49daef6b8475e969a5.tar.gz
* fix-header.c (recognized_function): Also fix prototypes for
functions taking "void". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index aaad9de8588..9d18802e327 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -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,