From bd112980ffcc7d9809dff88b7208e804c54345ab Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 17 Mar 2010 03:14:54 +0000 Subject: more warning fixes. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5242 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/reset.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/reset.h') 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 -- cgit v1.2.3