altos: Add 'void' to function declarations with no params.
[fw/altos] / src / stmf0 / ao_arch.h
index 15642951308e7c664f0decedcc8971698bb2cd19..8256ebaad1baef01a537552863d99a2e9c2ca3f9 100644 (file)
@@ -58,9 +58,7 @@
  * ao_romconfig.c
  */
 
-#define AO_ROMCONFIG_VERSION   2
-
-#define AO_ROMCONFIG_SYMBOL(a) __attribute__((section(".romconfig"))) const
+#define AO_ROMCONFIG_SYMBOL __attribute__((section(".romconfig"))) const
 
 extern const uint16_t ao_romconfig_version;
 extern const uint16_t ao_romconfig_check;
@@ -129,7 +127,7 @@ void ao_lcd_font_string(char *s);
 extern const uint32_t  ao_radio_cal;
 
 void
-ao_adc_init();
+ao_adc_init(void);
 
 /* ADC maximum reported value */
 #define AO_ADC_MAX                     4095