warning: fix warning where GCC didn't catch a doubly declared global structure

Why hasn't earlier versions of GCC caught this? Bug?

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-12-29 22:14:43 +01:00
parent 4f9a9b8eba
commit eea91f71f9

View File

@@ -98,7 +98,7 @@
#define offset_EFC_FRR 12
struct flash_driver at91sam3_flash;
extern struct flash_driver at91sam3_flash;
static float
_tomhz(uint32_t freq_hz)