From ec398340cd9ebe2dea4181665afa1fd7419bc2d3 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 4 Jan 2012 05:21:44 +0000 Subject: dbg_ports() : move proto to system.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31557 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.h | 4 ---- firmware/export/system.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/debug_menu.h b/apps/debug_menu.h index 7926ffcd3b..664a1ba762 100644 --- a/apps/debug_menu.h +++ b/apps/debug_menu.h @@ -24,8 +24,4 @@ bool debug_menu(void); bool run_debug_screen(char* screen); -#ifndef SIMULATOR -extern bool dbg_ports(void); -#endif - #endif diff --git a/firmware/export/system.h b/firmware/export/system.h index 1055c65b60..78fcd4caa9 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -386,4 +386,8 @@ static inline uint32_t swaw32_hw(uint32_t value) * break strict aliasing rules' B.S. */ #define PUN_PTR(type, p) ((type)(intptr_t)(p)) +#ifndef SIMULATOR +bool dbg_ports(void); +#endif + #endif /* __SYSTEM_H__ */ -- cgit v1.2.3