diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index eb6a572f8c..a0815966ac 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -1224,8 +1224,7 @@ void nxsched_suspend_scheduler(FAR struct tcb_s *tcb); * ****************************************************************************/ -struct sched_param; /* Forward reference */ -int nxsched_get_param (pid_t pid, FAR struct sched_param *param); +int nxsched_get_param(pid_t pid, FAR struct sched_param *param); /**************************************************************************** * Name: nxsched_set_param @@ -1261,7 +1260,6 @@ int nxsched_get_param (pid_t pid, FAR struct sched_param *param); * ****************************************************************************/ -struct sched_param; /* Forward reference */ int nxsched_set_param(pid_t pid, FAR const struct sched_param *param); /****************************************************************************