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/sim-config.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sim/common/sim-config.c') diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c index cb44d23..32eed31 100644 --- a/sim/common/sim-config.c +++ b/sim/common/sim-config.c @@ -151,7 +151,7 @@ sim_config (SIM_DESC sd) && !bfd_big_endian (STATE_PROG_BFD (sd)))) prefered_target_byte_order = 0; else - prefered_target_byte_order = (bfd_little_endian(STATE_PROG_BFD (sd)) + prefered_target_byte_order = (bfd_little_endian (STATE_PROG_BFD (sd)) ? LITTLE_ENDIAN : BIG_ENDIAN); @@ -241,15 +241,15 @@ sim_config (SIM_DESC sd) if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT) { const char *env = - tree_find_string_property(root, "/openprom/options/env"); - STATE_ENVIRONMENT (sd) = ((strcmp(env, "user") == 0 - || strcmp(env, "uea") == 0) + tree_find_string_property (root, "/openprom/options/env"); + STATE_ENVIRONMENT (sd) = ((strcmp (env, "user") == 0 + || strcmp (env, "uea") == 0) ? USER_ENVIRONMENT - : (strcmp(env, "virtual") == 0 - || strcmp(env, "vea") == 0) + : (strcmp (env, "virtual") == 0 + || strcmp (env, "vea") == 0) ? VIRTUAL_ENVIRONMENT - : (strcmp(env, "operating") == 0 - || strcmp(env, "oea") == 0) + : (strcmp (env, "operating") == 0 + || strcmp (env, "oea") == 0) ? OPERATING_ENVIRONMENT : ALL_ENVIRONMENT); } @@ -262,7 +262,7 @@ sim_config (SIM_DESC sd) #if (WITH_TREE_PROPERTIES) if (current_alignment == 0) current_alignment = - (tree_find_boolean_property(root, "/openprom/options/strict-alignment?") + (tree_find_boolean_property (root, "/openprom/options/strict-alignment?") ? STRICT_ALIGNMENT : NONSTRICT_ALIGNMENT); #endif -- cgit v1.1