summaryrefslogtreecommitdiff
path: root/gcc/gen-protos.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-27 21:01:33 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-27 21:01:33 +0000
commitc6e59b1cd471bd89c977a76d9de9ab1ad26a7674 (patch)
tree2b400f349b0fddd510fcd62cdce1ded133c9dbaf /gcc/gen-protos.c
parent3507a1e695a15d28ab2c1d8849f00a11ff6661a9 (diff)
downloadgcc-c6e59b1cd471bd89c977a76d9de9ab1ad26a7674.tar.gz
Disable obnoxious warning message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5008 138bc75d-0d04-0410-961f-82ee72b054a4
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 ace6d1267d8..af9468c369f 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;