aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-02 05:30:16 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-02 05:30:16 +0000
commit12c4cbd553579257a4902267b2301984434cec7b (patch)
treeb6228ef9e739eb92a626f7d837f223f812ec2b28 /sim/common/hw-main.h
parent4368ebebd815a95ace43dba87fbe800a37d314cf (diff)
downloadfsf-binutils-gdb-12c4cbd553579257a4902267b2301984434cec7b.zip
fsf-binutils-gdb-12c4cbd553579257a4902267b2301984434cec7b.tar.gz
fsf-binutils-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-main.h')
-rw-r--r--sim/common/hw-main.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/hw-main.h b/sim/common/hw-main.h
index 0f10bc8..24ab4b8 100644
--- a/sim/common/hw-main.h
+++ b/sim/common/hw-main.h
@@ -39,7 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
typedef void (hw_finish_method)
(struct hw *me);
-struct hw_descriptor {
+struct hw_descriptor
+{
const char *family;
hw_finish_method *to_finish;
};
@@ -55,7 +56,8 @@ void do_hw_attach_regs (struct hw *me);
or a hw_io status code that indicates the reason for the read
failure */
-enum {
+enum
+{
HW_IO_EOF = -1, HW_IO_NOT_READY = -2, /* See: IEEE 1275 */
};