diff --git a/src/kprint/kprint.h b/src/kprint/kprint.h index aa591e7..69cc63c 100644 --- a/src/kprint/kprint.h +++ b/src/kprint/kprint.h @@ -5,7 +5,6 @@ extern "C" { #endif #include "../base/errors.h" -#include "kprint_colors.h" #include "kprint_format.h" /* @@ -97,9 +96,6 @@ void __kprint(u8 n, kp_fmt* formats, __kp_value_union* objects); #define kprint(ARGS...) WARNING_DISABLE( W_INT_CONVERSION, \ __kprint(count_args(ARGS), __kp_argsToArrs(count_args(ARGS),ARGS, __32zeroes)) \ ) - -///@param f bgColor | fgColor -void kprint_setColor(kp_fmt f); #if __cplusplus } diff --git a/src/kprint/kprint_format.h b/src/kprint/kprint_format.h index cd25f92..33e8aea 100644 --- a/src/kprint/kprint_format.h +++ b/src/kprint/kprint_format.h @@ -6,6 +6,7 @@ extern "C" { #include "../base/std.h" #include "../base/type_system/ktid.h" +#include "kprint_colors.h" /// kprint_format typedef u32 kp_fmt; @@ -44,6 +45,9 @@ PACKED_ENUM(kp_dataFmt, #define kp_fmt_dataFormat(FMT) (kp_dataFmt)(FMT&0x000f0000) #define kp_fmt_ktid(FMT) (ktid)(FMT&0x0000ffff) +///@param f bgColor | fgColor +void kprint_setColor(kp_fmt f); + #if __cplusplus } #endif \ No newline at end of file