diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-06 09:50:23 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-06 09:50:23 +0300 |
commit | 6b37389f8569780a0fffcb072047aa3e0e376945 (patch) | |
tree | 5459b78d6df7a42809c3390d98f67fe437a9cc8c | |
parent | 6af9ca2436326fb0f2bad00b4a920921f82335f0 (diff) | |
parent | 1406725b881900074a032e847e2d12a6a059d7e9 (diff) |
Merge branch 'rj/header-cleanup'
Code cleanup.
* rj/header-cleanup:
commit-reach.h: add missing declarations (hdr-check)
ewok_rlw.h: add missing 'inline' to function definition
fetch-object.h: add missing declaration (hdr-check)
-rw-r--r-- | commit-reach.h | 5 | ||||
-rw-r--r-- | ewah/ewok_rlw.h | 2 | ||||
-rw-r--r-- | fetch-object.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/commit-reach.h b/commit-reach.h index 122a23a24d..7a65f55e59 100644 --- a/commit-reach.h +++ b/commit-reach.h @@ -1,12 +1,13 @@ #ifndef COMMIT_REACH_H #define COMMIT_REACH_H +#include "commit.h" #include "commit-slab.h" -struct commit; struct commit_list; -struct contains_cache; struct ref_filter; +struct object_id; +struct object_array; struct commit_list *get_merge_bases_many(struct commit *one, int n, diff --git a/ewah/ewok_rlw.h b/ewah/ewok_rlw.h index d487966935..bafa24f4c3 100644 --- a/ewah/ewok_rlw.h +++ b/ewah/ewok_rlw.h @@ -31,7 +31,7 @@ #define RLW_RUNNING_LEN_PLUS_BIT (((eword_t)1 << (RLW_RUNNING_BITS + 1)) - 1) -static int rlw_get_run_bit(const eword_t *word) +static inline int rlw_get_run_bit(const eword_t *word) { return *word & (eword_t)1; } diff --git a/fetch-object.h b/fetch-object.h index d2f996d4e8..d6444caa5a 100644 --- a/fetch-object.h +++ b/fetch-object.h @@ -1,6 +1,8 @@ #ifndef FETCH_OBJECT_H #define FETCH_OBJECT_H +struct object_id; + void fetch_objects(const char *remote_name, const struct object_id *oids, int oid_nr); |