From 8aea2d1dc437b5b497170ef9c1b6854aee8f5dcf Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 1 Jul 2019 13:23:36 +0200 Subject: cleanup: split tar code up, remove some duplications This commit attempts to split some of the monolitic tar parsing code up into multiple functions in seperate files. Also, some code duplication (like reading a record into memory which was implemented twice) is removed. Signed-off-by: David Oberhollenzer --- include/tar.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/tar.h') diff --git a/include/tar.h b/include/tar.h index 513e5bc..ef4fdec 100644 --- a/include/tar.h +++ b/include/tar.h @@ -8,13 +8,6 @@ #include "util.h" -typedef enum { - ETV_UNKNOWN = 0, - ETV_V7_UNIX, - ETV_PRE_POSIX, - ETV_POSIX, -} E_TAR_VERSION; - typedef struct { char name[100]; char mode[8]; -- cgit v1.2.3