summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-04 21:42:10 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-09 10:36:01 -0800
commit62fc8b0429e2e45f6eb0bf7fd28221e2c78e4f30 (patch)
treebfe692655c7fd39fcf6b497e0c64413608aa1434
parent6a37d24a5a30b9f9fc724695655803c40351186e (diff)
downloadsubsurface-62fc8b0429e2e45f6eb0bf7fd28221e2c78e4f30.tar.gz
Cleanup: make create_divesite_uuid() of static linkage
This function was not used outside of core/divesite.h Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/divesite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divesite.c b/core/divesite.c
index d09597190..376321189 100644
--- a/core/divesite.c
+++ b/core/divesite.c
@@ -188,7 +188,7 @@ void delete_dive_site(struct dive_site *ds)
}
}
-uint32_t create_divesite_uuid(const char *name, timestamp_t divetime)
+static uint32_t create_divesite_uuid(const char *name, timestamp_t divetime)
{
if (name == NULL)
name ="";