From 87d348780e626fb90078658ef4d1ca3751773091 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 26 Apr 1993 18:51:25 -0400 Subject: [PATCH] (other_variable_style_function): Properly test for the presence of the string "...". From-SVN: r4239 --- gcc/protoize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/protoize.c b/gcc/protoize.c index cbcfd5c65808..c54c0c6e87a5 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) */ -- 2.43.5