mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
sim: fix func call style (space before paren)
Committed this as obvious: -foo(...); +foo (...); Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -114,13 +114,13 @@ generic_hw_unit_encode (struct hw *bus,
|
||||
/* don't output anything if empty */
|
||||
if (phys->nr_cells == 0)
|
||||
{
|
||||
strcpy(pos, "");
|
||||
strcpy (pos, "");
|
||||
len = 0;
|
||||
}
|
||||
else if (i == phys->nr_cells)
|
||||
{
|
||||
/* all zero */
|
||||
strcpy(pos, "0");
|
||||
strcpy (pos, "0");
|
||||
len = 1;
|
||||
}
|
||||
else
|
||||
@@ -129,14 +129,14 @@ generic_hw_unit_encode (struct hw *bus,
|
||||
{
|
||||
if (pos != buf)
|
||||
{
|
||||
strcat(pos, ",");
|
||||
pos = strchr(pos, '\0');
|
||||
strcat (pos, ",");
|
||||
pos = strchr (pos, '\0');
|
||||
}
|
||||
if (phys->cells[i] < 10)
|
||||
sprintf (pos, "%ld", (unsigned long)phys->cells[i]);
|
||||
else
|
||||
sprintf (pos, "0x%lx", (unsigned long)phys->cells[i]);
|
||||
pos = strchr(pos, '\0');
|
||||
pos = strchr (pos, '\0');
|
||||
}
|
||||
len = pos - buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user