summaryrefslogtreecommitdiff
path: root/object-store.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 /object-store.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 'object-store.h')
-rw-r--r--object-store.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/object-store.h b/object-store.h
index 9700d1a..4a6ca2f 100644
--- a/object-store.h
+++ b/object-store.h
@@ -163,9 +163,9 @@ void *map_loose_object(struct repository *r, const struct object_id *oid,
unsigned long *size);
void *read_object_file_extended(struct repository *r,
- const struct object_id *oid,
- enum object_type *type,
- unsigned long *size, int lookup_replace);
+ const struct object_id *oid,
+ enum object_type *type,
+ unsigned long *size, int lookup_replace);
static inline void *repo_read_object_file(struct repository *r,
const struct object_id *oid,
enum object_type *type,
@@ -181,17 +181,17 @@ static inline void *repo_read_object_file(struct repository *r,
int oid_object_info(struct repository *r, const struct object_id *, unsigned long *);
int hash_object_file(const void *buf, unsigned long len,
- const char *type, struct object_id *oid);
+ const char *type, struct object_id *oid);
int write_object_file(const void *buf, unsigned long len,
- const char *type, struct object_id *oid);
+ const char *type, struct object_id *oid);
int hash_object_file_literally(const void *buf, unsigned long len,
- const char *type, struct object_id *oid,
- unsigned flags);
+ const char *type, struct object_id *oid,
+ unsigned flags);
int pretend_object_file(void *, unsigned long, enum object_type,
- struct object_id *oid);
+ struct object_id *oid);
int force_object_loose(const struct object_id *oid, time_t mtime);