From 54dd2a6e3a05b940d9daebb3d73f6876c182b3e7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 4 Feb 2019 22:32:24 -0800 Subject: altos: Add 'void' to function declarations with no params. Support -Wstrict-prototypes Signed-off-by: Keith Packard --- src/lpc/ao_exti_lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lpc/ao_exti_lpc.c') diff --git a/src/lpc/ao_exti_lpc.c b/src/lpc/ao_exti_lpc.c index 193f4547..12016072 100644 --- a/src/lpc/ao_exti_lpc.c +++ b/src/lpc/ao_exti_lpc.c @@ -140,7 +140,7 @@ ao_exti_set_mode(uint8_t port, uint8_t pin, uint8_t mode) } void -ao_exti_set_callback(uint8_t port, uint8_t pin, void (*callback)()) { +ao_exti_set_callback(uint8_t port, uint8_t pin, void (*callback)(void)) { uint8_t id = pin_id(port,pin); uint8_t pint = ao_pint_map[id]; -- cgit v1.2.3