Renaming putchar to putc

This commit is contained in:
Jarkko Toivanen 2023-09-23 21:19:53 +03:00
parent e438ef985a
commit b077a17fa4
Signed by: jt
GPG key ID: 9151B109B73ECAD5
3 changed files with 7 additions and 7 deletions

View file

@ -48,7 +48,7 @@ void putpixel(
} }
} }
void putchar( void putc(
unsigned char *character, unsigned char *character,
unsigned short x, unsigned short x,
unsigned short y, unsigned short y,

View file

@ -18,7 +18,7 @@ void putpixel(
unsigned char g, unsigned char g,
unsigned char b unsigned char b
); );
void putchar( void putc(
unsigned char *character, unsigned char *character,
unsigned short x, unsigned short x,
unsigned short y, unsigned short y,

View file

@ -87,11 +87,11 @@ void kmain (unsigned int mbootmagick, multiboot_info_t* mbootinfo)
} }
} }
putchar("r", 412, 5, 0xff, 0xff, 0xff); putc("r", 412, 5, 0xff, 0xff, 0xff);
putchar("O", 452, 5, 0xff, 0xff, 0xff); putc("O", 452, 5, 0xff, 0xff, 0xff);
putchar("S", 492, 5, 0xff, 0xff, 0xff); putc("S", 492, 5, 0xff, 0xff, 0xff);
putchar("k", 532, 5, 0xff, 0xff, 0xff); putc("k", 532, 5, 0xff, 0xff, 0xff);
putchar("a", 572, 5, 0xff, 0xff, 0xff); putc("a", 572, 5, 0xff, 0xff, 0xff);
//while(1){} //while(1){}
serial_write_string("\nExecution finished, halting...\n"); serial_write_string("\nExecution finished, halting...\n");