OSDN Git Service

(other_variable_style_function): Properly test for the presence of the
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 1993 22:51:25 +0000 (22:51 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 1993 22:51:25 +0000 (22:51 +0000)
string "...".

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

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) */