diff options
-rw-r--r-- | libdivecomputer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index 6974bccdf..67d291c16 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -397,12 +397,12 @@ static uint32_t calculate_diveid(const unsigned char *fingerprint, unsigned int return csum[0]; } +#ifdef DC_FIELD_STRING static uint32_t calculate_string_hash(const char *str) { return calculate_diveid(str, strlen(str)); } -#ifdef DC_FIELD_STRING static void parse_string_field(struct dive *dive, dc_field_string_t *str) { // Our dive ID is the string hash of the "Dive ID" string |