Skip to content

Commit 16d375e

Browse files
xiaoxiang781216pkarashchenko
authored andcommitted
include/nuttx/sched.h: Remove the unnecessary forward declaration
Signed-off-by: Xiang Xiao <[email protected]>
1 parent 45cdb3e commit 16d375e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/nuttx/sched.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,8 +1224,7 @@ void nxsched_suspend_scheduler(FAR struct tcb_s *tcb);
12241224
*
12251225
****************************************************************************/
12261226

1227-
struct sched_param; /* Forward reference */
1228-
int nxsched_get_param (pid_t pid, FAR struct sched_param *param);
1227+
int nxsched_get_param(pid_t pid, FAR struct sched_param *param);
12291228

12301229
/****************************************************************************
12311230
* Name: nxsched_set_param
@@ -1261,7 +1260,6 @@ int nxsched_get_param (pid_t pid, FAR struct sched_param *param);
12611260
*
12621261
****************************************************************************/
12631262

1264-
struct sched_param; /* Forward reference */
12651263
int nxsched_set_param(pid_t pid, FAR const struct sched_param *param);
12661264

12671265
/****************************************************************************

0 commit comments

Comments
 (0)