summaryrefslogtreecommitdiff
path: root/src/drivers/ao_hmc5883.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-04 22:24:37 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commitc11427819ca24bb77523496309b5b6f699d126c5 (patch)
tree29cab045cde088881d971b175708245b17d09ce6 /src/drivers/ao_hmc5883.c
parent119a829e58aff5dd7801fe7ef8cae886bf31fec1 (diff)
altos: Mark local functions 'static'
Working towards supporting -Wmissing-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_hmc5883.c')
-rw-r--r--src/drivers/ao_hmc5883.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_hmc5883.c b/src/drivers/ao_hmc5883.c
index f4705708..55a193ac 100644
--- a/src/drivers/ao_hmc5883.c
+++ b/src/drivers/ao_hmc5883.c
@@ -66,7 +66,7 @@ ao_hmc5883_isr(void)
static uint32_t ao_hmc5883_missed_irq;
-void
+static void
ao_hmc5883_sample(struct ao_hmc5883_sample *sample)
{
uint16_t *d = (uint16_t *) sample;