summaryrefslogtreecommitdiff
path: root/src/include/reset.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-17 03:14:54 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-17 03:14:54 +0000
commitbd112980ffcc7d9809dff88b7208e804c54345ab (patch)
tree7385b2ec5f30275205a31c674620e1cb013e9265 /src/include/reset.h
parentb319b1778c0546d9fc0777ccb9a0b82291b5a60e (diff)
downloadcoreboot-bd112980ffcc7d9809dff88b7208e804c54345ab.tar.xz
more warning fixes.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5242 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/reset.h')
-rw-r--r--src/include/reset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/reset.h b/src/include/reset.h
index fd78189b17..3d72a8cc0a 100644
--- a/src/include/reset.h
+++ b/src/include/reset.h
@@ -1,6 +1,9 @@
#ifndef RESET_H
#define RESET_H
+#if !defined( __ROMCC__ )
+/* ROMCC can't do function prototypes... */
+
#if CONFIG_HAVE_HARD_RESET == 1
void hard_reset(void);
#else
@@ -9,3 +12,4 @@ void hard_reset(void);
void soft_reset(void);
#endif
+#endif