Skip to content

Commit 6b37389

Browse files
committed
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)
2 parents 6af9ca2 + 1406725 commit 6b37389

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

commit-reach.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#ifndef COMMIT_REACH_H
22
#define COMMIT_REACH_H
33

4+
#include "commit.h"
45
#include "commit-slab.h"
56

6-
struct commit;
77
struct commit_list;
8-
struct contains_cache;
98
struct ref_filter;
9+
struct object_id;
10+
struct object_array;
1011

1112
struct commit_list *get_merge_bases_many(struct commit *one,
1213
int n,

ewah/ewok_rlw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#define RLW_RUNNING_LEN_PLUS_BIT (((eword_t)1 << (RLW_RUNNING_BITS + 1)) - 1)
3333

34-
static int rlw_get_run_bit(const eword_t *word)
34+
static inline int rlw_get_run_bit(const eword_t *word)
3535
{
3636
return *word & (eword_t)1;
3737
}

fetch-object.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef FETCH_OBJECT_H
22
#define FETCH_OBJECT_H
33

4+
struct object_id;
5+
46
void fetch_objects(const char *remote_name, const struct object_id *oids,
57
int oid_nr);
68

0 commit comments

Comments
 (0)