diff --git a/libraries/AP_HAL_F4Light/wirish/main.cxx b/libraries/AP_HAL_F4Light/wirish/main.cxx index 7b593a3a08..7a53e00774 100644 --- a/libraries/AP_HAL_F4Light/wirish/main.cxx +++ b/libraries/AP_HAL_F4Light/wirish/main.cxx @@ -30,7 +30,7 @@ extern void init(); // Force init to be called *first*, i.e. before static object allocation. // Otherwise, statically allocated objects that need libmaple may fail. - __attribute__(( constructor )) void premain() ; + __attribute__(( constructor )) void premain(); __attribute__(( constructor )) void premain(){}