summaryrefslogtreecommitdiff
path: root/src/stm/ao_arch_funcs.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-04 22:28:02 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commit873f511173c637016b5e173813bd03c1725797bb (patch)
treed9458610035a74ee3c3c3632073125032fa60dff /src/stm/ao_arch_funcs.h
parentc11427819ca24bb77523496309b5b6f699d126c5 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch_funcs.h')
-rw-r--r--src/stm/ao_arch_funcs.h5
1 files changed, 5 insertions, 0 deletions
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_ */