summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-27 21:04:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-28 07:27:10 -0800
commit155260e6d9cdc10fc76eeabcbccceb040cea6b3d (patch)
tree3060b2e6227a8cb1afaa83ce4470c11c9e3742bb
parentdd0ded1a9e70beebf44a3ca89d8ec20d95bccc52 (diff)
downloadsubsurface-155260e6d9cdc10fc76eeabcbccceb040cea6b3d.tar.gz
Cleanup: make dt_dive_parser() local to datatrak.c
The function is only used in this translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/datatrak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/datatrak.c b/core/datatrak.c
index 87bed5f55..51db84606 100644
--- a/core/datatrak.c
+++ b/core/datatrak.c
@@ -147,7 +147,7 @@ static dc_status_t dt_libdc_buffer(unsigned char *ptr, int prf_length, int dc_mo
* Parses a mem buffer extracting its data and filling a subsurface's dive structure.
* Returns a pointer to last position in buffer, or NULL on failure.
*/
-unsigned char *dt_dive_parser(unsigned char *runner, struct dive *dt_dive)
+static unsigned char *dt_dive_parser(unsigned char *runner, struct dive *dt_dive)
{
int rc, profile_length, libdc_model;
char *tmp_notes_str = NULL;