summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-04-29 08:28:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-05 06:20:10 (GMT)
commitad6dad0996f9226b2c3a5a3c725bf2952e52d7e7 (patch)
treecbde3e662ca85541fd7d0c9b0220776fee59cdbf /archive.h
parentb199d7147a218c3b10b077f9caad0f207bc34d7a (diff)
downloadgit-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.zip
git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.tar.gz
git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.tar.bz2
*.[ch]: manually align parameter lists
In previous patches, extern was mechanically removed from function declarations without care to formatting, causing parameter lists to be misaligned. Manually format changed sections such that the parameter lists should be realigned. Viewing this patch with 'git diff -w' should produce no output. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/archive.h b/archive.h
index 5afc11d..a7bdeea 100644
--- a/archive.h
+++ b/archive.h
@@ -24,8 +24,8 @@ struct archiver_args {
/* main api */
int write_archive(int argc, const char **argv, const char *prefix,
- struct repository *repo,
- const char *name_hint, int remote);
+ struct repository *repo,
+ const char *name_hint, int remote);
const char *archive_format_from_filename(const char *filename);
@@ -52,8 +52,8 @@ typedef int (*write_archive_entry_fn_t)(struct archiver_args *args,
int write_archive_entries(struct archiver_args *args, write_archive_entry_fn_t write_entry);
void *object_file_to_archive(const struct archiver_args *args,
- const char *path, const struct object_id *oid,
- unsigned int mode, enum object_type *type,
- unsigned long *sizep);
+ const char *path, const struct object_id *oid,
+ unsigned int mode, enum object_type *type,
+ unsigned long *sizep);
#endif /* ARCHIVE_H */