summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-07-18 19:58:46 +0300
committerCosta Tsaousis <costa@netdata.cloud>2022-07-18 19:59:00 +0300
commitd25f6e855726aade1db184fc18e94d41820ce727 (patch)
tree2d4f1b0fb2748a9f429d03d0d4e82d691a5be3fe
parentd3ebf28706b3f1b4c35101a8b698407030ea88de (diff)
renamed struct string
-rw-r--r--libnetdata/dictionary/dictionary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/dictionary/dictionary.h b/libnetdata/dictionary/dictionary.h
index 6aa1e47bf0..6e04fd6ec5 100644
--- a/libnetdata/dictionary/dictionary.h
+++ b/libnetdata/dictionary/dictionary.h
@@ -231,14 +231,14 @@ extern int dictionary_unittest(size_t entries);
// ----------------------------------------------------------------------------
// STRING implementation
-typedef struct string STRING;
+typedef struct netdata_string STRING;
extern STRING *string_strdupz(const char *str);
extern STRING *string_dup(STRING *string);
extern void string_freez(STRING *string);
extern size_t string_length(STRING *string);
extern const char *string2str(STRING *string) NEVERNULL;
-static inline int stringcmp(STRING *s1, STRING *s2) {
+static inline int string_cmp(STRING *s1, STRING *s2) {
// STRINGs are deduplicated, so the same strings have the same pointer
if(unlikely(s1 == s2)) return 0;