summaryrefslogtreecommitdiffstats
path: root/src/basic/ordered-set.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-28 15:34:15 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-30 11:40:53 +0200
commit138f49e452283419c8e35d7c12025f0f41c1da91 (patch)
treeff6882be3fb7d02e4779331a01396d78dfbfacb2 /src/basic/ordered-set.h
parentgdb: make output a bit nicer (diff)
downloadsystemd-138f49e452283419c8e35d7c12025f0f41c1da91.tar.xz
systemd-138f49e452283419c8e35d7c12025f0f41c1da91.zip
basic/hashmap,set: change "internal_" to "_" as the prefix
"internal" is a lot of characters. Let's take a leaf out of the Python's book and simply use _ to mean private. Much less verbose, but the meaning is just as clear, or even more.
Diffstat (limited to 'src/basic/ordered-set.h')
-rw-r--r--src/basic/ordered-set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/ordered-set.h b/src/basic/ordered-set.h
index 383a729cab..a42a57eb49 100644
--- a/src/basic/ordered-set.h
+++ b/src/basic/ordered-set.h
@@ -59,7 +59,7 @@ static inline void* ordered_set_steal_first(OrderedSet *s) {
}
static inline char **ordered_set_get_strv(OrderedSet *s) {
- return internal_hashmap_get_strv(HASHMAP_BASE((OrderedHashmap*) s));
+ return _hashmap_get_strv(HASHMAP_BASE((OrderedHashmap*) s));
}
int ordered_set_consume(OrderedSet *s, void *p);