From 267d5318e1cbf69a071b5188dda50310af2f2f8b Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 7 Oct 2019 14:44:17 +0200 Subject: Cleanup: Move padd_file function to libtar It's only ever used for padding tarballs. Signed-off-by: David Oberhollenzer --- include/util.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/util.h') diff --git a/include/util.h b/include/util.h index b6102a3..3b1d16b 100644 --- a/include/util.h +++ b/include/util.h @@ -88,13 +88,6 @@ int pushdn(const char *path, size_t len); SQFS_INTERNAL int popd(void); -/* - Write zero bytes to an output file to padd it to specified block size. - Returns 0 on success. On failure, prints error message to stderr. -*/ -SQFS_INTERNAL -int padd_file(int outfd, sqfs_u64 size, size_t blocksize); - /* Helper for allocating data structures with flexible array members. -- cgit v1.2.3