aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-06-30 23:28:02 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-06-30 23:28:02 +0100
commit9980154889a2bfd00c0c76176595948768be1487 (patch)
tree6edd9cc7bd8414f96db728a2727a2fae85c58700 /gcc/c-common.c
parenta6163c2238f5e27c5063727e75518de1e389bd04 (diff)
downloadgcc-9980154889a2bfd00c0c76176595948768be1487.zip
gcc-9980154889a2bfd00c0c76176595948768be1487.tar.gz
gcc-9980154889a2bfd00c0c76176595948768be1487.tar.bz2
c-common.h (check_function_format): Remove first parameter.
* c-common.h (check_function_format): Remove first parameter. * c-format.c (format_check_context): Remove status. (check_format_info, check_format_info_main, maybe_read_dollar_number, avoid_dollar_number, finish_dollar_format_checking, check_format_types, check_function_format): Remove first parameter. Don't use status_warning. (check_format_arg): Don't use status_warning. (status_warning): Remove. * c-common.c (check_function_arguments): Update call to check_function_format. cp: * call.c (build_over_call), typeck.c (build_function_call): Update calls to check_function_format. From-SVN: r83935
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 9d07efb..fda7126 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -5023,7 +5023,7 @@ check_function_arguments (tree attrs, tree params)
/* Check for errors in format strings. */
if (warn_format)
- check_function_format (NULL, attrs, params);
+ check_function_format (attrs, params);
}
/* Generic argument checking recursion routine. PARAM is the argument to