altos: Add 'void' to function declarations with no params.
[fw/altos] / src / lpc / ao_arch_funcs.h
index 0454b38b012e71f80d1dae78928dbe549579229e..345108aeb42c1b3f4887b02365cea4200e32e2a2 100644 (file)
@@ -101,7 +101,7 @@ ao_arch_irqrestore(uint32_t primask) {
 }
 
 static inline void
-ao_arch_memory_barrier() {
+ao_arch_memory_barrier(void) {
        asm volatile("" ::: "memory");
 }
 
@@ -258,6 +258,9 @@ static inline void ao_spi_send_byte(uint8_t byte, uint8_t spi_index)
                }                                                       \
        } while (0)
 
+void
+ao_debug_out(char c);
+
 #define HAS_ARCH_START_SCHEDULER       1
 
 static inline void ao_arch_start_scheduler(void) {
@@ -272,4 +275,6 @@ static inline void ao_arch_start_scheduler(void) {
        asm("isb");
 }
 
+void start(void);
+
 #endif /* _AO_ARCH_FUNCS_H_ */