Skip to content

Commit

Permalink
Fixed compile errorwith px_clear_tty
Browse files Browse the repository at this point in the history
  • Loading branch information
Kfeavel committed Nov 21, 2019
1 parent 6853cf4 commit 55856e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/devices/tty/kprint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void px_tty_set_color(px_tty_color fore, px_tty_color back) {
backColor = back;
}

void px_clear_tty {
void px_clear_tty() {
char str[] = { ' ', '\0' };
for (int y = 0; y < 25; y++) {
for (int x = 0; x < 80; x++) {
Expand Down
2 changes: 1 addition & 1 deletion sysroot/usr/include/kernel/devices/tty/kprint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ void kprintHex(uint8_t key);
*/
void px_tty_set_color(px_tty_color fore, px_tty_color back);

void px_clear_tty;
void px_clear_tty();

#endif /* PANIX_KPRINT_HPP */

0 comments on commit 55856e3

Please sign in to comment.