From eae1624f2472abc3700dfdb9835da4e59dbff517 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sat, 7 Dec 2013 23:54:17 +0100 Subject: Make local helpers static Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- planner.c | 2 +- statistics.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/planner.c b/planner.c index 21878b6c5..3bec66fe5 100644 --- a/planner.c +++ b/planner.c @@ -197,7 +197,7 @@ void fill_default_cylinder(cylinder_t *cyl) } } -int add_gas(struct dive *dive, int o2, int he) +static int add_gas(struct dive *dive, int o2, int he) { int i; struct gasmix *mix; diff --git a/statistics.c b/statistics.c index 18666bda0..0c823b1d8 100644 --- a/statistics.c +++ b/statistics.c @@ -292,7 +292,7 @@ void get_selected_dives_text(char *buffer, int size) } } -bool is_gas_used(struct dive *dive, int idx) +static bool is_gas_used(struct dive *dive, int idx) { struct divecomputer *dc = &dive->dc; bool firstGasExplicit = FALSE; -- cgit v1.2.3-70-g09d2