From 09e9c1e08597728f6fe052f033a9cf6c57d7562f Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 6 Jul 2015 11:43:07 +0000 Subject: [PATCH] Rename read-md.c:decimal_string * read-md.c (decimal_string): Rename to ... (md_decimal_string): ... this. (handle_enum): Reflect this. From-SVN: r225451 --- gcc/ChangeLog | 6 ++++++ gcc/read-md.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ee91ff2df2..08c1b674b2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-06 Rainer Orth + + * read-md.c (decimal_string): Rename to ... + (md_decimal_string): ... this. + (handle_enum): Reflect this. + 2015-07-06 Szabolcs Nagy PR target/66731 diff --git a/gcc/read-md.c b/gcc/read-md.c index 4c6ddef8b6d..41c2316dbb1 100644 --- a/gcc/read-md.c +++ b/gcc/read-md.c @@ -779,7 +779,7 @@ traverse_md_constants (htab_trav callback, void *info) /* Return a malloc()ed decimal string that represents number NUMBER. */ static char * -decimal_string (int number) +md_decimal_string (int number) { /* A safe overestimate. +1 for sign, +1 for null terminator. */ char buffer[sizeof (int) * CHAR_BIT + 1 + 1]; @@ -851,7 +851,7 @@ handle_enum (int lineno, bool md_p) ev->name = value_name; } ev->def = add_constant (md_constants, value_name, - decimal_string (def->num_values), def); + md_decimal_string (def->num_values), def); *def->tail_ptr = ev; def->tail_ptr = &ev->next; -- 2.30.2