We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ea66e commit 213cd30Copy full SHA for 213cd30
kernel/include/shell/shell.h
@@ -1,6 +1,6 @@
1
#ifndef SHELL_H
2
#define SHELL_H
3
4
-void shell_loop();
+_Noreturn void shell_loop();
5
6
#endif
kernel/shell/shell.c
#include <stdio.h>
-void shell_loop() {
+_Noreturn void shell_loop() {
for (;;) {
printf("\033[1;32m~$\033[0m ");
char str[128];
0 commit comments