diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-02 05:30:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-02 05:30:16 +0000 |
commit | 12c4cbd553579257a4902267b2301984434cec7b (patch) | |
tree | b6228ef9e739eb92a626f7d837f223f812ec2b28 /sim/common/hw-properties.h | |
parent | 4368ebebd815a95ace43dba87fbe800a37d314cf (diff) | |
download | gdb-12c4cbd553579257a4902267b2301984434cec7b.zip gdb-12c4cbd553579257a4902267b2301984434cec7b.tar.gz gdb-12c4cbd553579257a4902267b2301984434cec7b.tar.bz2 |
sim: fix up style a bit
This touches up the code a bit to match GNU style. No functional changes.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/hw-properties.h')
-rw-r--r-- | sim/common/hw-properties.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sim/common/hw-properties.h b/sim/common/hw-properties.h index 64b9a74..d318f56 100644 --- a/sim/common/hw-properties.h +++ b/sim/common/hw-properties.h @@ -26,7 +26,8 @@ /* The following are valid property types. The property `array' is for generic untyped data. */ -typedef enum { +typedef enum +{ array_property, boolean_property, #if 0 @@ -39,7 +40,8 @@ typedef enum { string_array_property, } hw_property_type; -struct hw_property { +struct hw_property +{ struct hw *owner; const char *name; hw_property_type type; @@ -129,7 +131,8 @@ int hw_find_boolean_property #if 0 -typedef struct _ihandle_runtime_property_spec { +typedef struct _ihandle_runtime_property_spec +{ const char *full_path; } ihandle_runtime_property_spec; @@ -171,7 +174,8 @@ int hw_find_integer_array_property -typedef struct _range_property_spec { +typedef struct _range_property_spec +{ hw_unit child_address; hw_unit parent_address; hw_unit size; @@ -191,7 +195,8 @@ int hw_find_range_array_property -typedef struct _reg_property_spec { +typedef struct _reg_property_spec +{ hw_unit address; hw_unit size; } reg_property_spec; |