(other_variable_style_function): Properly test for the presence of the
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 26 Apr 1993 22:51:25 +0000 (18:51 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 26 Apr 1993 22:51:25 +0000 (18:51 -0400)
string "...".

From-SVN: r4239

gcc/protoize.c

index cbcfd5c..c54c0c6 100644 (file)
@@ -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) */