From 44bcc5a30772237e7f0f47d618af345520fb5804 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 13 Mar 2018 21:39:20 +0100 Subject: Cleanup: make local functions in core/plannernotes.c of static linkage Signed-off-by: Berthold Stoeger --- core/plannernotes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/plannernotes.c b/core/plannernotes.c index d7c0de898..c0647ebe6 100644 --- a/core/plannernotes.c +++ b/core/plannernotes.c @@ -19,7 +19,7 @@ #include "format.h" #include "version.h" -int diveplan_duration(struct diveplan *diveplan) +static int diveplan_duration(struct diveplan *diveplan) { struct divedatapoint *dp = diveplan->dp; int duration = 0; @@ -41,7 +41,7 @@ int diveplan_duration(struct diveplan *diveplan) * 5) Pointers to gas mixes in the gas change: gas-from and gas-to. * Returns: The size of the output buffer that has been used after the new results have been added. */ -int add_icd_entry(char *icdbuffer, unsigned int maxsize, struct icd_data *icdvalues, bool printheader, int time_seconds, int ambientpressure_mbar, struct gasmix *gas_from, struct gasmix *gas_to) +static int add_icd_entry(char *icdbuffer, unsigned int maxsize, struct icd_data *icdvalues, bool printheader, int time_seconds, int ambientpressure_mbar, struct gasmix *gas_from, struct gasmix *gas_to) { int len = 0; if (printheader) { // Create a table description and a table header if no icd data have been written yet. -- cgit v1.2.3-70-g09d2