From 522945efc8b3b9878205a3f12b5290ef07c7cbfc Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 30 Sep 2021 19:55:05 +0200 Subject: [PATCH] btrfs-progs: remove unused prototypes from send-utils.h The functions are part of path-utils. Signed-off-by: David Sterba --- cmds/receive-dump.c | 1 + common/send-utils.h | 3 --- mkfs/rootdir.c | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmds/receive-dump.c b/cmds/receive-dump.c index 058e8918..47a0a30e 100644 --- a/cmds/receive-dump.c +++ b/cmds/receive-dump.c @@ -37,6 +37,7 @@ #include "cmds/commands.h" #include "common/send-utils.h" #include "common/send-stream.h" +#include "common/path-utils.h" #include "cmds/receive-dump.h" #define PATH_CAT_OR_RET(function_name, outpath, path1, path2, ret) \ diff --git a/common/send-utils.h b/common/send-utils.h index 363e2483..dd9876b2 100644 --- a/common/send-utils.h +++ b/common/send-utils.h @@ -73,7 +73,4 @@ void subvol_uuid_search_add(struct subvol_uuid_search *s, int btrfs_subvolid_resolve(int fd, char *path, size_t path_len, u64 subvol_id); -int path_cat_out(char *out, const char *p1, const char *p2); -int path_cat3_out(char *out, const char *p1, const char *p2, const char *p3); - #endif diff --git a/mkfs/rootdir.c b/mkfs/rootdir.c index 471d49da..c2e14daf 100644 --- a/mkfs/rootdir.c +++ b/mkfs/rootdir.c @@ -36,6 +36,7 @@ #include "mkfs/rootdir.h" #include "mkfs/common.h" #include "common/send-utils.h" +#include "common/path-utils.h" static u32 fs_block_size;