about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-17 08:26:26 +0100
committervan Hauser <vh@thc.org>2020-02-17 08:26:26 +0100
commit55e90c0c360203491e7b1dc22842aba0dc865ba5 (patch)
treecbe4c561ba22b5e6bc050f8db99bc1e2df7b09af /include
parent220804714bb4cc8722940fd4fe6a0604901dfd2a (diff)
downloadafl++-55e90c0c360203491e7b1dc22842aba0dc865ba5.tar.gz
code format
Diffstat (limited to 'include')
-rw-r--r--include/alloc-inl.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h
index cc88bd5c..26ce7d22 100644
--- a/include/alloc-inl.h
+++ b/include/alloc-inl.h
@@ -37,9 +37,9 @@
 /* Disable speed hack in debug mode */
 
 #ifdef UNSAFE_MEMORY
- #ifdef DEBUG_BUILD
-  #undef UNSAFE_MEMORY
- #endif
+#ifdef DEBUG_BUILD
+#undef UNSAFE_MEMORY
+#endif
 #endif
 
 /* User-facing macro to sprintf() to a dynamically allocated buffer. */
@@ -94,11 +94,11 @@
 #endif
 
 #ifndef UNSAFE_MEMORY
- #define ALLOC_OFF_HEAD 8
- #define ALLOC_OFF_TOTAL (ALLOC_OFF_HEAD + 1)
+#define ALLOC_OFF_HEAD 8
+#define ALLOC_OFF_TOTAL (ALLOC_OFF_HEAD + 1)
 #else
- #define ALLOC_OFF_HEAD 0
- #define ALLOC_OFF_TOTAL 0
+#define ALLOC_OFF_HEAD 0
+#define ALLOC_OFF_TOTAL 0
 #endif
 
 /* Allocator increments for ck_realloc_block(). */
@@ -125,9 +125,11 @@
     }                                            \
                                                  \
   } while (0)
+
 #else
-#define CHECK_PTR(_p)                            \
-  do {                                           \
+#define CHECK_PTR(_p) \
+  do {                \
+                      \
   } while (0)
 #endif