From 7071ca9d21d783827f93fcd25631aa2da8df8fe4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 4 Feb 2013 18:46:28 +0000 Subject: Rename _TCB to struct tcb_s git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/sched_setparam.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nuttx/sched/sched_setparam.c') diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c index 6ea4e8f74..828f38101 100644 --- a/nuttx/sched/sched_setparam.c +++ b/nuttx/sched/sched_setparam.c @@ -1,7 +1,7 @@ /**************************************************************************** * sched/sched_setparam.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -107,9 +107,9 @@ int sched_setparam(pid_t pid, const struct sched_param *param) { - FAR _TCB *rtcb; - FAR _TCB *tcb; - int ret; + FAR struct tcb_s *rtcb; + FAR struct tcb_s *tcb; + int ret; /* Verify that the requested priority is in the valid range */ @@ -127,7 +127,7 @@ int sched_setparam(pid_t pid, const struct sched_param *param) /* Check if the task to reprioritize is the calling task */ - rtcb = (FAR _TCB*)g_readytorun.head; + rtcb = (FAR struct tcb_s*)g_readytorun.head; if (pid == 0 || pid == rtcb->pid) { tcb = rtcb; -- cgit v1.2.3