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)
This commit is contained in:
commit
6b37389f85
@ -1,12 +1,13 @@
|
|||||||
#ifndef COMMIT_REACH_H
|
#ifndef COMMIT_REACH_H
|
||||||
#define COMMIT_REACH_H
|
#define COMMIT_REACH_H
|
||||||
|
|
||||||
|
#include "commit.h"
|
||||||
#include "commit-slab.h"
|
#include "commit-slab.h"
|
||||||
|
|
||||||
struct commit;
|
|
||||||
struct commit_list;
|
struct commit_list;
|
||||||
struct contains_cache;
|
|
||||||
struct ref_filter;
|
struct ref_filter;
|
||||||
|
struct object_id;
|
||||||
|
struct object_array;
|
||||||
|
|
||||||
struct commit_list *get_merge_bases_many(struct commit *one,
|
struct commit_list *get_merge_bases_many(struct commit *one,
|
||||||
int n,
|
int n,
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#define RLW_RUNNING_LEN_PLUS_BIT (((eword_t)1 << (RLW_RUNNING_BITS + 1)) - 1)
|
#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;
|
return *word & (eword_t)1;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef FETCH_OBJECT_H
|
#ifndef FETCH_OBJECT_H
|
||||||
#define FETCH_OBJECT_H
|
#define FETCH_OBJECT_H
|
||||||
|
|
||||||
|
struct object_id;
|
||||||
|
|
||||||
void fetch_objects(const char *remote_name, const struct object_id *oids,
|
void fetch_objects(const char *remote_name, const struct object_id *oids,
|
||||||
int oid_nr);
|
int oid_nr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user