aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--planner.c2
-rw-r--r--statistics.c2
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;