]> git.ipfire.org Git - thirdparty/git.git/commitdiff
reftable: ensure git-compat-util.h is the first (indirect) include
authorElijah Newren <newren@gmail.com>
Sat, 22 Apr 2023 20:17:29 +0000 (20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2023 19:47:33 +0000 (12:47 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/error.c
reftable/publicbasics.c
reftable/tree.c
reftable/tree_test.c
t/helper/test-reftable.c

index 93941f214570ace6e82e3c0a8b3c83d8b945405f..0d1766735e8ff0f1c5c057d1882728aa4292d1ee 100644 (file)
@@ -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>
index 0ad7d5c0ff225cf0904e5dc2ddfe09c0486710d8..bcb82530d6ce35e8a0a582d9718090067b238899 100644 (file)
@@ -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);
index b8899e060abdd6629d73510a8b126b0c00c90b8d..a5bf880985472dee7cd7c9169047752245599488 100644 (file)
@@ -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 *),
index cbff12558868a2ad29337da146ed7c34d063634c..ac3a045ad4afbc893f4daff8da98c768cabaf8fd 100644 (file)
@@ -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"
index 1f0a28cbb64de427ff8d8c542e0b1166250093e2..00237ef0d9e08fb9747010891b64d1d5ca421a29 100644 (file)
@@ -1,3 +1,4 @@
+#include "reftable/system.h"
 #include "reftable/reftable-tests.h"
 #include "test-tool.h"