aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vga.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-29 20:09:56 +0200
committerMarvin Borner2019-09-29 20:09:56 +0200
commit2fb0965a68dd232a70d1616bfbd7281fc65c2b0a (patch)
tree15c16851251ef1b083deff5796a36d6c127d0035 /src/kernel/graphics/vga.c
parent0936f4d7b781ca8342fa80037d836306913aa282 (diff)
Added some minor improvements
Diffstat (limited to 'src/kernel/graphics/vga.c')
-rw-r--r--src/kernel/graphics/vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/graphics/vga.c b/src/kernel/graphics/vga.c
index fa1f330..8fde84f 100644
--- a/src/kernel/graphics/vga.c
+++ b/src/kernel/graphics/vga.c
@@ -25,11 +25,11 @@ enum vga_color {
VGA_COLOR_WHITE = 15,
};
-static inline uint8_t vga_entry_color(enum vga_color fg, enum vga_color bg) {
+inline uint8_t vga_entry_color(enum vga_color fg, enum vga_color bg) {
return fg | bg << 4;
}
-static inline uint16_t vga_entry(unsigned char uc, uint8_t color) {
+inline uint16_t vga_entry(unsigned char uc, uint8_t color) {
return (uint16_t) uc | (uint16_t) color << 8;
}