From: Rainer Orth Date: Mon, 6 Jul 2015 11:43:07 +0000 (+0000) Subject: Rename read-md.c:decimal_string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09e9c1e08597728f6fe052f033a9cf6c57d7562f;p=gcc.git Rename read-md.c:decimal_string * read-md.c (decimal_string): Rename to ... (md_decimal_string): ... this. (handle_enum): Reflect this. From-SVN: r225451 --- 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;