mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
dd0ded1a9e
commit
155260e6d9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue