:: commit 86fc022f114d2139b805b6c5b9ee0da8a6c77152

mintsuki <mintsuki@protonmail.com> — 2022-07-18 19:14

parents: 6eafb4fc03

misc: Move 'verbose' declaration to lib/print.h

diff --git a/common/lib/blib.h b/common/lib/blib.h
index fe278107..e915a8c6 100644
--- a/common/lib/blib.h
+++ b/common/lib/blib.h
@@ -33,7 +33,7 @@ extern struct volume *boot_volume;
 extern bool stage3_loaded;
 #endif
 
-extern bool verbose, quiet, serial, editor_enabled;
+extern bool quiet, serial, editor_enabled;
 
 bool parse_resolution(size_t *width, size_t *height, size_t *bpp, const char *buf);
 
diff --git a/common/lib/print.h b/common/lib/print.h
index 4a7d1d1b..8ceb95a1 100644
--- a/common/lib/print.h
+++ b/common/lib/print.h
@@ -2,6 +2,9 @@
 #define __LIB__PRINT_H__
 
 #include <stdarg.h>
+#include <stdbool.h>
+
+extern bool verbose;
 
 void print(const char *fmt, ...);
 void vprint(const char *fmt, va_list args);
tab: 248 wrap: offon