diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-04-29 10:28:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-05 08:20:10 +0200 |
commit | ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7 (patch) | |
tree | cbde3e662ca85541fd7d0c9b0220776fee59cdbf /archive.h | |
parent | *.[ch]: remove extern from function declarations using sed (diff) | |
download | git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.tar.xz git-ad6dad0996f9226b2c3a5a3c725bf2952e52d7e7.zip |
*.[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.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 */ |