summaryrefslogtreecommitdiffstats
path: root/src/sysv-generator
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-03 14:25:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-22 16:32:37 +0200
commit0f9ccd95525c9869b6a23b71f6b7dbb2a7038674 (patch)
treeaa9db2667955d7faaae6a65eb008ff2d2ab95045 /src/sysv-generator
parentsd-device: use set_put_strdup() in one more place (diff)
downloadsystemd-0f9ccd95525c9869b6a23b71f6b7dbb2a7038674.tar.xz
systemd-0f9ccd95525c9869b6a23b71f6b7dbb2a7038674.zip
basic/set: add set_ensure_put()
It's such a common operation to allocate the set and put an item in it, that it deserves a helper. set_ensure_put() has the same return values as set_put(). Comes with tests!
Diffstat (limited to 'src/sysv-generator')
0 files changed, 0 insertions, 0 deletions