mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 19:19:44 +03:00
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.
This commit is contained in:
parent
9b1dd57122
commit
7bb34279cd
Notes:
sideshowbarker
2024-07-17 07:43:44 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/7bb34279cd Pull-request: https://github.com/SerenityOS/serenity/pull/14672 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/timschumi
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user