mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
Make sched_getparam() POSIX compliant.
This commit is contained in:
@@ -46,7 +46,7 @@ int sched_setparam(
|
||||
|
||||
int sched_getparam(
|
||||
pid_t pid,
|
||||
const struct sched_param *param
|
||||
struct sched_param *param
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
int sched_getparam(
|
||||
pid_t pid __attribute__((unused)),
|
||||
const struct sched_param *param __attribute__((unused))
|
||||
struct sched_param *param __attribute__((unused))
|
||||
)
|
||||
{
|
||||
rtems_set_errno_and_return_minus_one( ENOSYS );
|
||||
|
||||
Reference in New Issue
Block a user