summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-common.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-18 04:13:29 +0000
committerobrien <obrien@FreeBSD.org>2000-04-18 04:13:29 +0000
commit7df70954d38789bb8d500bb1b747afb576cc348b (patch)
treefcf502b94ea4319e0622596c90dbfe1aae730a98 /contrib/gcc/c-common.c
parentbbdd397589b4f6af259592b21f85029a2be934bc (diff)
downloadFreeBSD-src-7df70954d38789bb8d500bb1b747afb576cc348b.zip
FreeBSD-src-7df70954d38789bb8d500bb1b747afb576cc348b.tar.gz
From FSFChangeLog: (tfaff): Now a function, not a string. All users changed.
I did not catch this on the EGCS 1.1.x --> GCC 2.95 upgrade. So propogate this change to our custom hacks. PR: 15549 Submitted by: Naohiko Tsuji <yakisoba@osaka.interq.or.jp> Patrick Bihan-Faou <patrick@mindstep.com>
Diffstat (limited to 'contrib/gcc/c-common.c')
-rw-r--r--contrib/gcc/c-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c
index 9ab5c5f..a76dea5 100644
--- a/contrib/gcc/c-common.c
+++ b/contrib/gcc/c-common.c
@@ -1652,7 +1652,7 @@ check_format_info (info, params)
/* There should be an int arg to control the string arg. */
if (params == 0)
{
- warning (tfaff);
+ tfaff ();
return;
}
if (info->first_arg_num != 0)
@@ -1675,7 +1675,7 @@ check_format_info (info, params)
/* There should be an unsigned char * arg before the string arg. */
if (params == 0)
{
- warning (tfaff);
+ tfaff ();
return;
}
if (info->first_arg_num != 0)
OpenPOWER on IntegriCloud