include/nuttx/sched.h: Remove the unnecessary forward declaration

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-07-16 00:14:12 +08:00 committed by Petro Karashchenko
parent 45cdb3efa4
commit 16d375e90f

View File

@ -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);
/****************************************************************************