about summary refs log tree commit diff
path: root/include/alloc-inl.h
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-06-22 09:24:00 +0200
committervanhauser-thc <vh@thc.org>2023-06-22 09:26:46 +0200
commit90f83c13d08f44fbf50036076a1772909c4d2c86 (patch)
treed26430fafdefc5a4765e274c930cf0ece7aecf4c /include/alloc-inl.h
parent224e884ba1c8eba8ff6d7ab7c95dfb4f6f958622 (diff)
downloadafl++-90f83c13d08f44fbf50036076a1772909c4d2c86.tar.gz
remove dead code, code format
Diffstat (limited to 'include/alloc-inl.h')
-rw-r--r--include/alloc-inl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h
index 1e9a192b..cff808b2 100644
--- a/include/alloc-inl.h
+++ b/include/alloc-inl.h
@@ -322,7 +322,7 @@ static inline void DFL_ck_free(void *mem) {
 static inline void *DFL_ck_realloc(void *orig, u32 size) {
 
   void *ret;
-  u32 old_size = 0;
+  u32   old_size = 0;
 
   if (!size) {
 
@@ -392,7 +392,7 @@ static inline void *DFL_ck_realloc(void *orig, u32 size) {
 static inline u8 *DFL_ck_strdup(u8 *str) {
 
   void *ret;
-  u32 size;
+  u32   size;
 
   if (!str) return NULL;
 
@@ -438,14 +438,14 @@ struct TRK_obj {
 
   void *ptr;
   char *file, *func;
-  u32 line;
+  u32   line;
 
 };
 
     #ifdef AFL_MAIN
 
 struct TRK_obj *TRK[ALLOC_BUCKETS];
-u32 TRK_cnt[ALLOC_BUCKETS];
+u32             TRK_cnt[ALLOC_BUCKETS];
 
       #define alloc_report() TRK_report()