From 34b47c3828ca8e6d9dcddb2886744fb470e4276c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 May 2011 20:02:42 +0000 Subject: sim: fix func call style (space before paren) Committed this as obvious: -foo(...); +foo (...); Signed-off-by: Mike Frysinger --- sim/common/hw-base.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sim/common/hw-base.c') diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index 88e493e..97e92c8 100644 --- a/sim/common/hw-base.c +++ b/sim/common/hw-base.c @@ -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; } -- cgit v1.1