Clean: harmonizing & header-commenting code

This commit is contained in:
xamidev
2024-08-24 17:17:53 +02:00
parent a915ac15a1
commit fbd4fa6089
46 changed files with 339 additions and 130 deletions

View File

@@ -1,3 +1,8 @@
// Basic shell and commands kernel module
// Author: xamidev
// Licensed under the Unlicense. See the repo below.
// https//github.com/xamidev/blankos
#include "system.h"
#include "../libc/stdio.h"
#include "../libc/string.h"
@@ -6,8 +11,7 @@
#define BUFFER_SIZE 256
#define MAX_COMMANDS 16
#define MAX_ARGS 64
#define MAX_ARGS 64
char* ascii_title =
"\n"
@@ -17,7 +21,6 @@ char* ascii_title =
"----------------------------------------------\n"
"\n";
typedef void (*command_func_t)(int argc, char *argv[]);
typedef struct