summaryrefslogtreecommitdiff
path: root/lib/typesafe.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-10-22 16:59:42 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-11-10 12:36:50 +0100
commit8d4e934b08b10823f33ff74c477fec454913e952 (patch)
treef5f3164cbececff67b90c6ba58adddd50bb52c96 /lib/typesafe.h
parentef990bd94bc5e5b37214d1188915f585de1dc12a (diff)
lib: avoid include loop with assert.h
`assert.h` -> `xref.h` -> `typesafe.h` -> `assert.h` Might be possible to do this more cleanly some way, but that way is not obvious, so here's the "simple & dumb" approach. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/typesafe.h')
-rw-r--r--lib/typesafe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/typesafe.h b/lib/typesafe.h
index 44c42ffbca..b284397d98 100644
--- a/lib/typesafe.h
+++ b/lib/typesafe.h
@@ -20,7 +20,6 @@
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
-#include <assert.h>
#include "compiler.h"
#ifdef __cplusplus