Rename read-md.c:decimal_string
* read-md.c (decimal_string): Rename to ... (md_decimal_string): ... this. (handle_enum): Reflect this. From-SVN: r225451
This commit is contained in:
parent
2b3fe2e950
commit
09e9c1e085
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user