mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
Cleanup: make local functions in core/plannernotes.c of static linkage
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
65c91e833c
commit
44bcc5a307
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue