[asd-logtrak] Make datatrak.cpp dt_libdc_buffer() no static

So it can be used in other import modules

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2024-12-30 22:25:34 +01:00 committed by Michael Keller
parent 9e6ed55cf5
commit 69d1ac8314

View file

@ -143,7 +143,7 @@ static std::string cyl_type_by_size(int size)
* libdivecomputer parsing. Puts the completed buffer in a pre-allocated
* compl_buffer, and returns status.
*/
static dc_status_t dt_libdc_buffer(unsigned char *ptr, int prf_length, int dc_model, unsigned char *compl_buffer)
dc_status_t dt_libdc_buffer(unsigned char *ptr, int prf_length, int dc_model, unsigned char *compl_buffer)
{
if (compl_buffer == NULL)
return DC_STATUS_NOMEMORY;