aboutsummaryrefslogtreecommitdiff
path: root/src/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tar.c')
-rw-r--r--src/tar.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/tar.c b/src/tar.c
index cc8eaa0..8272eb4 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -30,7 +30,8 @@ About the ustar format:
*/
-static void logerr(
+static void
+logerr(
const char *const s,
const char *const msg,
const int lineno
@@ -38,7 +39,8 @@ static void logerr(
logerr_file(s, msg, __FILE__, lineno);
}
-static void logerrs(
+static void
+logerrs(
const char *const pre,
const char *const mid,
const char *const post,
@@ -48,7 +50,8 @@ static void logerrs(
logerrs_file(pre, mid, post, msg, __FILE__, lineno);
}
-static void logerrl(
+static void
+logerrl(
const char *const pre,
const size_t mid,
const char *const post,
@@ -66,8 +69,9 @@ struct TarEntry {
// static int tar_write(FILE *const fd, 
-int tarball_write_from_directory(
- FILE *const fd,
+int
+tarball_write_from_directory(
+ const FILE *const fd,
const char *const directory_path
) {
int ret = 0;
@@ -94,5 +98,6 @@ cleanup:
}
#ifdef TEST
-void unit_tests_tar(void) {}
+void
+unit_tests_tar(void) {}
#endif