зеркало из https://github.com/microsoft/git.git
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:
Коммит
6b37389f85
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче