diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-11 20:02:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-11 20:02:42 +0000 |
commit | 34b47c3828ca8e6d9dcddb2886744fb470e4276c (patch) | |
tree | c6e8881cf59afd20bc6090bb7a2416c0ec1fd1cd /sim/common/sim-hw.c | |
parent | 1f84b6196ba7218766be02547881a5c2165be3ae (diff) | |
download | binutils-gdb-34b47c3828ca8e6d9dcddb2886744fb470e4276c.tar.gz |
sim: fix func call style (space before paren)
Committed this as obvious:
-foo(...);
+foo (...);
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/sim-hw.c')
-rw-r--r-- | sim/common/sim-hw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/sim-hw.c b/sim/common/sim-hw.c index 89fe45e2690..1000aaede62 100644 --- a/sim/common/sim-hw.c +++ b/sim/common/sim-hw.c @@ -160,7 +160,7 @@ merge_device_file (struct sim_state *sd, } line_nr = 0; - while (fgets (device_path, sizeof(device_path), description)) + while (fgets (device_path, sizeof (device_path), description)) { char *device; /* check that a complete line was read */ @@ -195,13 +195,13 @@ merge_device_file (struct sim_state *sd, sim_io_eprintf (sd, "%s:%d: unexpected eof", file_name, line_nr); return SIM_RC_FAIL; } - if (strchr(device_path, '\n') == NULL) + if (strchr (device_path, '\n') == NULL) { - fclose(description); + fclose (description); sim_io_eprintf (sd, "%s:%d: line to long", file_name, line_nr); return SIM_RC_FAIL; } - *strchr(device_path, '\n') = '\0'; + *strchr (device_path, '\n') = '\0'; line_nr++; } /* parse this line */ |