]> git.ipfire.org Git - thirdparty/systemd.git/commit
util: remove path_get_parent(), in favour of dirname_malloc()
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Oct 2015 16:30:56 +0000 (17:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Oct 2015 12:25:55 +0000 (13:25 +0100)
commit5f311f8c0e51e2f13773823feb6a71f7c6f2838c
tree6edfc648016e7000715e11c1ede94fde32e88d82
parente4e73a632524c382139034d4271f53b6089ab4cb
util: remove path_get_parent(), in favour of dirname_malloc()

We don't need two functions that do essentialy the same, hence drop
path_get_parent(), and stick to dirname_malloc(), but move it to
path-util.[ch].
15 files changed:
src/analyze/analyze-verify.c
src/basic/btrfs-util.c
src/basic/path-util.c
src/basic/path-util.h
src/basic/util.c
src/basic/util.h
src/core/automount.c
src/core/mount.c
src/core/socket.c
src/core/unit.c
src/import/pull-dkr.c
src/journal/catalog.c
src/shared/install.c
src/systemctl/systemctl.c
src/test/test-path-util.c