1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-14 17:26:13 +02:00

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:
Junio C Hamano 2018-11-06 15:50:23 +09:00
commit 6b37389f85
3 changed files with 6 additions and 3 deletions

View File

@ -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,

View File

@ -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;
}

View File

@ -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);