summaryrefslogtreecommitdiff
path: root/src/kernel/ao_log.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/kernel/ao_log.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/kernel/ao_log.c')
-rw-r--r--src/kernel/ao_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/ao_log.c b/src/kernel/ao_log.c
index fac211cf..c0a42b29 100644
--- a/src/kernel/ao_log.c
+++ b/src/kernel/ao_log.c
@@ -191,7 +191,7 @@ ao_log_flight(uint8_t slot)
#endif
static uint8_t
-ao_log_slots()
+ao_log_slots(void)
{
return (uint8_t) (ao_storage_log_max / ao_config.flight_log_max);
}
@@ -405,7 +405,7 @@ ao_log_full(void)
static struct ao_task ao_log_task;
#endif
-void
+static void
ao_log_list(void)
{
uint8_t slot;
@@ -425,7 +425,7 @@ ao_log_list(void)
printf ("done\n");
}
-void
+static void
ao_log_delete(void)
{
uint8_t slot;