Skip to content
Snippets Groups Projects
Commit 124b572f authored by Ali Naisan's avatar Ali Naisan
Browse files

format terminal_writestring() function

parent 9301f558
No related branches found
No related tags found
No related merge requests found
...@@ -112,9 +112,10 @@ void terminal_putchar(char c) { ...@@ -112,9 +112,10 @@ void terminal_putchar(char c) {
void terminal_writestring(const char* data) { void terminal_writestring(const char* data) {
size_t datalen = strlen(data); size_t datalen = strlen(data);
for (size_t i = 0; i < datalen; i++) for (size_t i = 0; i < datalen; i++) {
terminal_putchar(data[i]); terminal_putchar(data[i]);
} }
}
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" /* Use C linkage for kernel_main. */ extern "C" /* Use C linkage for kernel_main. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment