diff options
Diffstat (limited to 'src/include/reset.h')
-rw-r--r-- | src/include/reset.h | 4 |
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 |