term: Make term_notready() static
diff --git a/common/lib/gterm.c b/common/lib/gterm.c
index 3d19cfe6..bceac153 100644
--- a/common/lib/gterm.c
+++ b/common/lib/gterm.c
@@ -7,6 +7,7 @@
#include <lib/print.h>
#include <lib/uri.h>
#include <lib/fb.h>
+#include <lib/image.h>
#include <mm/pmm.h>
#include <term/term.h>
#include <term/backends/framebuffer.h>
diff --git a/common/lib/term.c b/common/lib/term.c
index e8c9e1c0..d386090d 100644
--- a/common/lib/term.c
+++ b/common/lib/term.c
@@ -4,7 +4,6 @@
#include <lib/term.h>
#include <lib/real.h>
#include <lib/misc.h>
-#include <lib/print.h>
#include <mm/pmm.h>
#include <drivers/vga_textmode.h>
#include <term/backends/framebuffer.h>
@@ -59,7 +58,7 @@ static void notready_deinit(struct term_context *ctx, void (*_free)(void *, size
(void)_free;
}
-void term_notready(void) {
+static void term_notready(void) {
if (term != NULL) {
term->deinit(term, pmm_free);
term = NULL;
diff --git a/common/lib/term.h b/common/lib/term.h
index 4ba66268..e3132bc5 100644
--- a/common/lib/term.h
+++ b/common/lib/term.h
@@ -3,8 +3,6 @@
#include <stddef.h>
#include <stdint.h>
-#include <stdbool.h>
-#include <lib/image.h>
#include <lib/print.h>
#include <term/term.h>
@@ -37,7 +35,6 @@ inline void set_cursor_pos_helper(size_t x, size_t y) {
}
void term_fallback(void);
-
void _term_write(uint64_t buf, uint64_t count);
#endif
