C Header guards
This commit is contained in:
parent
e1230ce493
commit
6547181959
1 changed files with 4 additions and 0 deletions
4
vga.h
4
vga.h
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue