aboutsummaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/container.h b/include/container.h
index b987d35..47eb0a7 100644
--- a/include/container.h
+++ b/include/container.h
@@ -1,7 +1,6 @@
#ifndef JUSTANOTHERCATGIRL_HEADERS_CONTAINER
#define JUSTANOTHERCATGIRL_HEADERS_CONTAINER
-#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -29,6 +28,7 @@ typedef unsigned char byte;
unsigned long __bit_scan_32(int32_t number);
unsigned long __bit_scan_64(int64_t number);
#endif
+
#if defined(__clang__) || defined(__GNUC__)
#define FALLTHROUGH __attribute__((fallthrough))
#elif defined(_MSC_VER)
@@ -37,6 +37,8 @@ typedef unsigned char byte;
#define FALLTHROUGH ((void)0)
#endif
+#define TODO (void)(*(volatile char*)0)
+
typedef int(*qsort_cmp_t)(const void*, const void*);
#define get_qsort_cmp(type) __qsort_cmps[sizeof(type)]
extern const qsort_cmp_t __qsort_cmps[64];