aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-26 18:51:25 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-26 18:51:25 -0400
commit87d348780e626fb90078658ef4d1ca3751773091 (patch)
treed6a96879bf513b47657e96bc1ccc9d9e01a69e86 /gcc/protoize.c
parent32831d4b7254c4a17f47f1a2d43dcadf07941d02 (diff)
downloadgcc-87d348780e626fb90078658ef4d1ca3751773091.zip
gcc-87d348780e626fb90078658ef4d1ca3751773091.tar.gz
gcc-87d348780e626fb90078658ef4d1ca3751773091.tar.bz2
(other_variable_style_function): Properly test for the presence of the
string "...". From-SVN: r4239
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index cbcfd5c..c54c0c6 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -2965,7 +2965,7 @@ other_variable_style_function (ansi_header)
/* See if we have a stdarg function, or a function which has stdarg style
parameters or a stdarg style return type. */
- return (int) substr (ansi_header, "...");
+ return substr (ansi_header, "...") != 0;
#else /* !defined (UNPROTOIZE) */