aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-28 17:18:17 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-28 17:18:17 -0500
commit2bb7704b128169c4ef8bc8ff980be4847e7eedb5 (patch)
tree68af87e93088483ceb1882075165cb771475d74c /src/stdlib
parent273ef13fe728e3722f76098178f78508fb439b36 (diff)
Clean up imports
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/bools.c1
-rw-r--r--src/stdlib/enums.c1
-rw-r--r--src/stdlib/fail.c2
-rw-r--r--src/stdlib/memory.c1
-rw-r--r--src/stdlib/result.c1
-rw-r--r--src/stdlib/types.c1
6 files changed, 2 insertions, 5 deletions
diff --git a/src/stdlib/bools.c b/src/stdlib/bools.c
index dc7b83b1..d761a860 100644
--- a/src/stdlib/bools.c
+++ b/src/stdlib/bools.c
@@ -1,6 +1,5 @@
// Boolean methods/type info
#include <err.h>
-#include <gc.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/param.h>
diff --git a/src/stdlib/enums.c b/src/stdlib/enums.c
index a0aa55be..badf31fc 100644
--- a/src/stdlib/enums.c
+++ b/src/stdlib/enums.c
@@ -1,6 +1,7 @@
// Metamethods for enums
#include <stdint.h>
+#include <stdio.h>
#include <sys/param.h>
#include "integers.h"
diff --git a/src/stdlib/fail.c b/src/stdlib/fail.c
index 704624d3..a69ea469 100644
--- a/src/stdlib/fail.c
+++ b/src/stdlib/fail.c
@@ -1,7 +1,7 @@
// Failure functions
#include <errno.h>
#include <signal.h>
-#include <stdio.h> // IWYU pragma: export
+#include <stdio.h>
#include "../util.h"
#include "fail.h"
diff --git a/src/stdlib/memory.c b/src/stdlib/memory.c
index fa92da3e..5b23e1b5 100644
--- a/src/stdlib/memory.c
+++ b/src/stdlib/memory.c
@@ -1,7 +1,6 @@
// Type info and methods for "Memory" opaque type
#include <err.h>
-#include <gc.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/param.h>
diff --git a/src/stdlib/result.c b/src/stdlib/result.c
index 8fd2ca1e..bed8658a 100644
--- a/src/stdlib/result.c
+++ b/src/stdlib/result.c
@@ -1,6 +1,5 @@
// Result (Success/Failure) type info
#include <err.h>
-#include <gc.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/param.h>
diff --git a/src/stdlib/types.c b/src/stdlib/types.c
index 14a8f87c..aedc787c 100644
--- a/src/stdlib/types.c
+++ b/src/stdlib/types.c
@@ -1,7 +1,6 @@
// Type information and methods for TypeInfos (i.e. runtime representations of types)
#include <err.h>
-#include <gc.h>
#include <sys/param.h>
#include "text.h"