From 7bb34279cdffddb03d9ff78e0741f2774d94ac8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Sun, 24 Jul 2022 15:51:30 +0200 Subject: [PATCH] LibC: Remove duplicate definition of sched_param from sched.h We were lucky until now that nobody included both headers that have a definition for this (identical) struct. --- Userland/Libraries/LibC/sched.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Userland/Libraries/LibC/sched.h b/Userland/Libraries/LibC/sched.h index db7ddc2caed..61d6fd77c7d 100644 --- a/Userland/Libraries/LibC/sched.h +++ b/Userland/Libraries/LibC/sched.h @@ -6,6 +6,7 @@ #pragma once +#include #include #include @@ -13,10 +14,6 @@ __BEGIN_DECLS int sched_yield(void); -struct sched_param { - int sched_priority; -}; - #define SCHED_FIFO 0 #define SCHED_RR 1 #define SCHED_OTHER 2