aboutsummaryrefslogtreecommitdiff
path: root/gcc/gen-protos.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1993-07-27 14:01:33 -0700
committerPer Bothner <bothner@gcc.gnu.org>1993-07-27 14:01:33 -0700
commitcefd15ce400f0786aef5bcf6f9df309fa9925f0c (patch)
tree2b400f349b0fddd510fcd62cdce1ded133c9dbaf /gcc/gen-protos.c
parentec0ed4f7ff7960348bf40f367375736af081020a (diff)
downloadgcc-cefd15ce400f0786aef5bcf6f9df309fa9925f0c.zip
gcc-cefd15ce400f0786aef5bcf6f9df309fa9925f0c.tar.gz
gcc-cefd15ce400f0786aef5bcf6f9df309fa9925f0c.tar.bz2
Disable obnoxious warning message.
From-SVN: r5008
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r--gcc/gen-protos.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index ace6d126..af9468c 100644
--- a/gcc/gen-protos.c
+++ b/gcc/gen-protos.c
@@ -21,6 +21,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HASH_SIZE 2503 /* a prime */
int hash_tab[HASH_SIZE];
+int verbose = 0;
sstring linebuf;
@@ -82,8 +83,9 @@ main (argc, argv)
if (!isalnum (*ptr))
{
- fprintf (stderr, "%s: Can't handle this complex prototype: %s\n",
- argv[0], linebuf.base);
+ if (verbose)
+ fprintf (stderr, "%s: Can't handle this complex prototype: %s\n",
+ argv[0], linebuf.base);
continue;
}
name_end = ptr+1;