mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
archive: declare struct archiver where it's needed
Move the declaration of struct archiver to archive.c, as this is the only file left where it is used. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
7f4d0511af
commit
f15f736d38
@@ -17,12 +17,6 @@ typedef int (*write_archive_fn_t)(struct archiver_args *);
|
||||
|
||||
typedef int (*write_archive_entry_fn_t)(struct archiver_args *args, const unsigned char *sha1, const char *path, size_t pathlen, unsigned int mode, void *buffer, unsigned long size);
|
||||
|
||||
struct archiver {
|
||||
const char *name;
|
||||
write_archive_fn_t write_archive;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
/*
|
||||
* Archive-format specific backends.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user