basic: Remove circular dep between alloc-util.h and memory-util.h

This commit is contained in:
Daan De Meyer
2025-04-18 14:19:16 +02:00
parent 5d226b2f9a
commit 95609f3dff
7 changed files with 17 additions and 14 deletions
+1 -2
View File
@@ -9,6 +9,7 @@
#include "assert-util.h"
#include "macro.h"
#include "memory-util.h"
#if HAS_FEATURE_MEMORY_SANITIZER
# include <sanitizer/msan_interface.h>
@@ -267,5 +268,3 @@ _alloc_(2) static inline void *realloc0(void *p, size_t new_size) {
return q;
}
#include "memory-util.h"