C Header guards

This commit is contained in:
Jarkko Toivanen 2023-06-14 20:40:50 +03:00
parent e1230ce493
commit 6547181959
Signed by: jt
GPG Key ID: 9151B109B73ECAD5
1 changed files with 4 additions and 0 deletions

4
vga.h
View File

@ -1,3 +1,5 @@
#ifndef HEADER_VGA
#define HEADER_VGA
enum vga_color {
VGA_COLOR_BLACK = 0,
@ -18,3 +20,5 @@ void vga_write(const char* text);
void vga_write_color( const char* text, enum vga_color fg, enum vga_color bg);
void vga_write_line(const char* text);
void vga_write_line_color( const char* text, enum vga_color fg, enum vga_color bg);
#endif