diff --git a/common/string_calls.c b/common/string_calls.c index 18f5451297..7a0a481735 100644 --- a/common/string_calls.c +++ b/common/string_calls.c @@ -921,6 +921,7 @@ g_strnjoin(char *dest, int dest_len, const char *joiner, const char *src[], int return dest; } +/*****************************************************************************/ int g_bitmask_to_str(int bitmask, const struct bitmask_string bitdefs[], char delim, char *buff, int bufflen) @@ -987,6 +988,7 @@ g_bitmask_to_str(int bitmask, const struct bitmask_string bitdefs[], return rlen; } +/*****************************************************************************/ int g_str_to_bitmask(const char *str, const struct bitmask_string bitdefs[], const char *delim, char *unrecognised, int unrecognised_len) diff --git a/common/string_calls.h b/common/string_calls.h index 87888c18b2..f2f635f306 100644 --- a/common/string_calls.h +++ b/common/string_calls.h @@ -171,7 +171,7 @@ g_get_display_num_from_display(const char *display_text); * a hexadecimal constant. */ int -g_bitmask_to_str(int bitmask, const struct bitmask_string[], +g_bitmask_to_str(int bitmask, const struct bitmask_string bitdefs[], char delim, char *buff, int bufflen); /*** @@ -184,7 +184,7 @@ g_bitmask_to_str(int bitmask, const struct bitmask_string[], * @return bitmask value for recognised tokens */ int -g_str_to_bitmask(const char *str, const struct bitmask_string[], +g_str_to_bitmask(const char *str, const struct bitmask_string bitdefs[], const char *delim, char *unrecognised, int unrecognised_len);