diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2015-07-06 11:43:07 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2015-07-06 11:43:07 +0000 |
commit | 09e9c1e08597728f6fe052f033a9cf6c57d7562f (patch) | |
tree | f6495527ec7215be3f3dc37ae3eb0824f4c1a83f | |
parent | 2b3fe2e9506bc21ea0846d26251d73bf1d5351cd (diff) | |
download | gcc-09e9c1e08597728f6fe052f033a9cf6c57d7562f.tar.gz |
Rename read-md.c:decimal_string
* read-md.c (decimal_string): Rename to ...
(md_decimal_string): ... this.
(handle_enum): Reflect this.
From-SVN: r225451
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <ro@CeBiTec.Uni-Bielefeld.DE> + + * read-md.c (decimal_string): Rename to ... + (md_decimal_string): ... this. + (handle_enum): Reflect this. + 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com> 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; |