get rid of compiler warnings
This commit is contained in:
parent
2cbb83f0c3
commit
51aa6ba7dd
|
|
@ -1,6 +1,8 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include <print/print.h>
|
||||||
|
|
||||||
#include "vga.h"
|
#include "vga.h"
|
||||||
|
|
||||||
static const size_t VGA_WIDTH = 80;
|
static const size_t VGA_WIDTH = 80;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
#include "arch/x86/vga.h"
|
#include "arch/x86/vga.h"
|
||||||
#include "hal/ops.h"
|
#include "hal/ops.h"
|
||||||
|
#include "print/print.h"
|
||||||
|
|
||||||
void kmain(int argc, char **argv) {
|
void kmain(int argc, char **argv) {
|
||||||
printf("Kernel initialized! Platform: %s\n", arch);
|
printf("Kernel initialized! Platform: %s\n", arch);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "../hal/print.h"
|
#include <hal/print.h>
|
||||||
|
|
||||||
void puts(const char*);
|
void puts(const char*);
|
||||||
void print(const char*);
|
void print(const char*);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue