From 873f511173c637016b5e173813bd03c1725797bb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 4 Feb 2019 22:28:02 -0800 Subject: altos: Declare all public functions in header files Including interrupt vectors to catch mis-spellings. Working toward supporting -Wmissing-prototypes Signed-off-by: Keith Packard --- src/stm/ao_arch_funcs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/stm/ao_arch_funcs.h') diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 7fe6a732..41f1bf91 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -393,6 +393,9 @@ struct ao_stm_usart { #endif }; +void +ao_debug_out(char c); + #if HAS_SERIAL_1 extern struct ao_stm_usart ao_stm_usart1; #endif @@ -607,4 +610,6 @@ ao_arch_wait_interrupt(void) { ao_arch_irqrestore(__mask); \ } while (0) +void start(void); + #endif /* _AO_ARCH_FUNCS_H_ */ -- cgit v1.2.3