aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-format.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-06-28 00:30:31 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-06-28 00:30:31 +0000
commit8ce332308c738cc38d292de5978e37dde916ba34 (patch)
tree1bf05e7aec3517a89d71382e39dbbc8e0fecfab2 /gcc/c-format.c
parent711f0333a210c7adf51645e4605e702855d4dc76 (diff)
downloadgcc-8ce332308c738cc38d292de5978e37dde916ba34.zip
gcc-8ce332308c738cc38d292de5978e37dde916ba34.tar.gz
gcc-8ce332308c738cc38d292de5978e37dde916ba34.tar.bz2
* c-format.c (check_format_string, get_constant)
* cfgrtl.c (rtl_split_edge): Mark the definition static, matching the forward declaration. cp: * decl.c (build_typename_type) * mangle.c (write_template_template_arg) * parser.c (cp_parser_scope_through_which_access_occurs) * pt.c (push_access_scope_real, push_access_scope, pop_access_scope) * repo.c (get_base_filename) * semantics.c (maybe_convert_cond): Mark the definition static, matching the forward declaration. java: * class.c (build_method_symbols_entry) * expr.c (get_offset_table_index) * jcf-parse.c (jcf_parse): Mark the definition static, matching the forward declaration. From-SVN: r68622
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r--gcc/c-format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c
index 1a24019..5bae1c2 100644
--- a/gcc/c-format.c
+++ b/gcc/c-format.c
@@ -116,7 +116,7 @@ handle_format_arg_attribute (tree *node, tree name ATTRIBUTE_UNUSED,
/* Verify that the format_num argument is actually a string, in case
the format attribute is in error. */
-bool
+static bool
check_format_string (tree argument, unsigned HOST_WIDE_INT format_num,
int flags, bool *no_add_attrs)
{
@@ -146,7 +146,7 @@ check_format_string (tree argument, unsigned HOST_WIDE_INT format_num,
/* Strip any conversions from the expression, verify it is a constant,
and store its value. If validated_p is true, abort on errors.
Returns true on success, false otherwise. */
-bool
+static bool
get_constant(tree expr, unsigned HOST_WIDE_INT *value, int validated_p)
{
while (TREE_CODE (expr) == NOP_EXPR