From 155260e6d9cdc10fc76eeabcbccceb040cea6b3d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 27 Feb 2019 21:04:27 +0100 Subject: [PATCH] Cleanup: make dt_dive_parser() local to datatrak.c The function is only used in this translation unit. Signed-off-by: Berthold Stoeger --- core/datatrak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;