End the _t nonsense

This commit is contained in:
2026-04-01 09:15:59 +02:00
parent e8a0a36889
commit e9b57f70b1
17 changed files with 59 additions and 59 deletions
+5 -5
View File
@@ -10,9 +10,9 @@
#include <stdint.h>
#include <io/serial/serial.h>
extern struct process_t* processes_list;
extern struct process_t* current_process;
extern struct process_t* idle_proc;
extern struct process* processes_list;
extern struct process* current_process;
extern struct process* idle_proc;
/*
* scheduler_init - Choose the first process
@@ -32,7 +32,7 @@ void scheduler_init()
* Return:
* <context> - CPU context for next process
*/
struct cpu_status_t* scheduler_schedule(struct cpu_status_t* context)
struct cpu_status* scheduler_schedule(struct cpu_status* context)
{
if (context == NULL) {
panic(NULL, "Scheduler called with NULL context");
@@ -51,7 +51,7 @@ struct cpu_status_t* scheduler_schedule(struct cpu_status_t* context)
current_process->context = context;
for (;;) {
struct process_t* prev_process = current_process;
struct process* prev_process = current_process;
if (current_process->next != NULL) {
current_process = current_process->next;
} else {