summaryrefslogtreecommitdiff
path: root/src/stm/ao_profile.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-04 22:32:24 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commit54dd2a6e3a05b940d9daebb3d73f6876c182b3e7 (patch)
treee08a74ddff46442c72afee9098a3ca2ee38defc5 /src/stm/ao_profile.h
parent873f511173c637016b5e173813bd03c1725797bb (diff)
altos: Add 'void' to function declarations with no params.
Support -Wstrict-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_profile.h')
-rw-r--r--src/stm/ao_profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_profile.h b/src/stm/ao_profile.h
index 3bf8c0b0..68aac001 100644
--- a/src/stm/ao_profile.h
+++ b/src/stm/ao_profile.h
@@ -19,7 +19,7 @@
#ifndef _AO_PROFILE_H_
#define _AO_PROFILE_H_
-void ao_profile_init();
+void ao_profile_init(void);
static inline uint32_t ao_profile_tick(void) {
uint16_t hi, lo, second_hi;