summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2008-07-25 12:41:24 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-25 17:21:04 -0700
commitf15f736d38d10f5c4f2ca367565019bdfe8e71dd (patch)
tree7e4797c0168bbed1f291a0e1ff6daee143d02593 /archive.h
parent7f4d0511af9d6c93656dda5a683632f5ae5b5278 (diff)
downloadgit-f15f736d38d10f5c4f2ca367565019bdfe8e71dd.tar.gz
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>
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/archive.h b/archive.h
index 929368d80b..0b15b35143 100644
--- a/archive.h
+++ b/archive.h
@@ -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.
*/