aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/sis.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-28 02:46:48 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-28 02:57:08 -0400
commit5831e29bc1a17115b96141bf72fbc44200c6e014 (patch)
treea3f10885f4699d7bb9c4eaac024668b8065d5d18 /sim/erc32/sis.c
parent49d45b20c01da11b7493a5c28bdced7558999d6d (diff)
downloadgdb-5831e29bc1a17115b96141bf72fbc44200c6e014.zip
gdb-5831e29bc1a17115b96141bf72fbc44200c6e014.tar.gz
gdb-5831e29bc1a17115b96141bf72fbc44200c6e014.tar.bz2
sim: erc32: strip paren from return statements
Diffstat (limited to 'sim/erc32/sis.c')
-rw-r--r--sim/erc32/sis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/erc32/sis.c b/sim/erc32/sis.c
index 931e3f3..c13b246 100644
--- a/sim/erc32/sis.c
+++ b/sim/erc32/sis.c
@@ -104,7 +104,7 @@ run_sim(sregs, icount, dis)
if (deb) {
if ((sregs->bphit = check_bpt(sregs)) != 0) {
restore_stdio();
- return (BPT_HIT);
+ return BPT_HIT;
}
if (sregs->histlen) {
sregs->histbuf[sregs->histind].addr = sregs->pc;
@@ -140,12 +140,12 @@ run_sim(sregs, icount, dis)
sregs->tottime += get_time() - sregs->starttime;
restore_stdio();
if (sregs->err_mode)
- return (ERROR);
+ return ERROR;
if (ctrl_c) {
ctrl_c = 0;
- return (CTRL_C);
+ return CTRL_C;
}
- return (TIME_OUT);
+ return TIME_OUT;
}
int