summaryrefslogtreecommitdiffstats
path: root/src/basic/strv.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-28 17:27:11 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-30 11:40:53 +0200
commit856e51957a9c67db84d1812ad3435027715fce89 (patch)
treeb80eee1e6944d9cf5b1946f95f9608b254a28924 /src/basic/strv.h
parentbasic/hashmap,set: change "internal_" to "_" as the prefix (diff)
downloadsystemd-856e51957a9c67db84d1812ad3435027715fce89.tar.xz
systemd-856e51957a9c67db84d1812ad3435027715fce89.zip
strv: propagate location info from the call site too
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r--src/basic/strv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h
index 0f81e34580..2ad927bce5 100644
--- a/src/basic/strv.h
+++ b/src/basic/strv.h
@@ -226,5 +226,7 @@ int fputstrv(FILE *f, char * const *l, const char *separator, bool *space);
})
extern const struct hash_ops string_strv_hash_ops;
-int string_strv_hashmap_put(Hashmap **h, const char *key, const char *value);
-int string_strv_ordered_hashmap_put(OrderedHashmap **h, const char *key, const char *value);
+int _string_strv_hashmap_put(Hashmap **h, const char *key, const char *value HASHMAP_DEBUG_PARAMS);
+int _string_strv_ordered_hashmap_put(OrderedHashmap **h, const char *key, const char *value HASHMAP_DEBUG_PARAMS);
+#define string_strv_hashmap_put(h, k, v) _string_strv_hashmap_put(h, k, v HASHMAP_DEBUG_SRC_ARGS)
+#define string_strv_ordered_hashmap_put(h, k, v) _string_strv_ordered_hashmap_put(h, k, v HASHMAP_DEBUG_SRC_ARGS)