aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2004-11-09 10:20:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2004-11-09 10:20:12 +0000
commit678b37e3ee870ed5d7b3caa377e7cdd9d8731b39 (patch)
tree05970d78d689f30edbbaad225e26af3ab895962c /gcc/c-decl.c
parent0993e086b1394d7ddc05b0601f93d9390a368d9f (diff)
* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
instead of "arg" in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Update expected diagnostic. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index d30b24a06bd..f5bc6e5db6a 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1063,7 +1063,8 @@ validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype)
for the arg. */
else if (!comptypes (oldargtype, newargtype))
{
- error ("%Jprototype for %qD declares arg %d with incompatible type",
+ error ("%Jprototype for %qD declares argument %d"
+ " with incompatible type",
newdecl, newdecl, i);
return false;
}