Browse Source

reftable: ensure git-compat-util.h is the first (indirect) include

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
main
Elijah Newren 2 years ago committed by Junio C Hamano
parent
commit
e3a3f5edf5
  1. 1
      reftable/error.c
  2. 2
      reftable/publicbasics.c
  3. 2
      reftable/tree.c
  4. 1
      reftable/tree_test.c
  5. 1
      t/helper/test-reftable.c

1
reftable/error.c

@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at @@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include "system.h"
#include "reftable-error.h"

#include <stdio.h>

2
reftable/publicbasics.c

@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at @@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include "system.h"
#include "reftable-malloc.h"

#include "basics.h"
#include "system.h"

static void *(*reftable_malloc_ptr)(size_t sz);
static void *(*reftable_realloc_ptr)(void *, size_t);

2
reftable/tree.c

@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at @@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include "system.h"
#include "tree.h"

#include "basics.h"
#include "system.h"

struct tree_node *tree_search(void *key, struct tree_node **rootp,
int (*compare)(const void *, const void *),

1
reftable/tree_test.c

@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at @@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include "system.h"
#include "tree.h"

#include "basics.h"

1
t/helper/test-reftable.c

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#include "reftable/system.h"
#include "reftable/reftable-tests.h"
#include "test-tool.h"


Loading…
Cancel
Save