summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-13 05:07:25 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-10-15 12:09:38 +0200
commit28b9c823c7b488b00f0faf30ab7c8930241c881f (patch)
tree20b06cdbb9ae1bd28315dc6a20c878118f77d8ea /src/basic/fs-util.c
parentbusctl: minor coding style cleanups (diff)
downloadsystemd-28b9c823c7b488b00f0faf30ab7c8930241c881f.tar.xz
systemd-28b9c823c7b488b00f0faf30ab7c8930241c881f.zip
fs-util: make readlink_malloc() inline
Diffstat (limited to 'src/basic/fs-util.c')
-rw-r--r--src/basic/fs-util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c
index a6b53e7067..9292e567c8 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -153,10 +153,6 @@ int readlinkat_malloc(int fd, const char *p, char **ret) {
}
}
-int readlink_malloc(const char *p, char **ret) {
- return readlinkat_malloc(AT_FDCWD, p, ret);
-}
-
int readlink_value(const char *p, char **ret) {
_cleanup_free_ char *link = NULL, *name = NULL;
int r;