summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-07-24 15:51:30 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-27 11:30:19 +0100
commit7bb34279cdffddb03d9ff78e0741f2774d94ac8f (patch)
tree4527aebf7afec0045f9a44ddff8a709a100cb898 /Userland/Libraries/LibC
parent9b1dd571223e871a6e9d694d9cbdc9c1d3d8adec (diff)
downloadserenity-7bb34279cdffddb03d9ff78e0741f2774d94ac8f.zip
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.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/sched.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Userland/Libraries/LibC/sched.h b/Userland/Libraries/LibC/sched.h
index db7ddc2cae..61d6fd77c7 100644
--- a/Userland/Libraries/LibC/sched.h
+++ b/Userland/Libraries/LibC/sched.h
@@ -6,6 +6,7 @@
#pragma once
+#include <Kernel/API/POSIX/sched.h>
#include <sys/cdefs.h>
#include <sys/types.h>
@@ -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