From 16d375e90f11aa09e928deafc04aa74044f75f2b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 16 Jul 2023 00:14:12 +0800 Subject: [PATCH] include/nuttx/sched.h: Remove the unnecessary forward declaration Signed-off-by: Xiang Xiao --- include/nuttx/sched.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); /****************************************************************************