From 35cead0b83da84c037bcf79ce112cb5e59f56b10 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 23 Aug 2021 07:41:55 -0300 Subject: src/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to src/tar.c --- src/tar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/tar.h') diff --git a/src/tar.h b/src/tar.h index 796ca9d..2f02027 100644 --- a/src/tar.h +++ b/src/tar.h @@ -1,7 +1,12 @@ #ifndef GISTATIC_TAR_H #define GISTATIC_TAR_H -int tarball_write_from_directory(const char *const directory_path); +#include + +int tarball_write_from_directory( + FILE *const fd, + const char *const directory_path +); #ifdef TEST void unit_tests_tar(void); -- cgit v1.2.3