aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-03-13 21:39:20 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-04-11 14:01:51 +0300
commit44bcc5a30772237e7f0f47d618af345520fb5804 (patch)
treefc45e05ae3872a94d3a687496e8034f647aa8ad3
parent65c91e833ce1e851699b161beeceebc48527e4a4 (diff)
downloadsubsurface-44bcc5a30772237e7f0f47d618af345520fb5804.tar.gz
Cleanup: make local functions in core/plannernotes.c of static linkage
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/plannernotes.c4
1 files 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.