Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1529b30bd1
commit
a6e6cb3daa
@ -513,4 +513,6 @@
|
|||||||
* Type of argv has changed from const char ** to char * const *
|
* Type of argv has changed from const char ** to char * const *
|
||||||
* apps/nshlib/nsh_parse.c: Fix memory lead: Need to detach after
|
* apps/nshlib/nsh_parse.c: Fix memory lead: Need to detach after
|
||||||
creating a pthread.
|
creating a pthread.
|
||||||
|
* apps/examples and nshlib: Change name of _TCB to struct tcb_s to
|
||||||
|
match NuttX name change.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/thttpd/tasks/tasks.c
|
* examples/thttpd/tasks/tasks.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -103,7 +103,7 @@ static const char *g_ttypenames[4] =
|
|||||||
* dangerous to reference global variables in the callback function.
|
* dangerous to reference global variables in the callback function.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* static */ void show_task(FAR _TCB *tcb, FAR void *arg)
|
/* static */ void show_task(FAR struct tcb_s *tcb, FAR void *arg)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ static const char *g_ttypenames[4] =
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef CONFIG_NSH_DISABLE_PS
|
#ifndef CONFIG_NSH_DISABLE_PS
|
||||||
static void ps_task(FAR _TCB *tcb, FAR void *arg)
|
static void ps_task(FAR struct tcb_s *tcb, FAR void *arg)
|
||||||
{
|
{
|
||||||
struct nsh_vtbl_s *vtbl = (struct nsh_vtbl_s*)arg;
|
struct nsh_vtbl_s *vtbl = (struct nsh_vtbl_s*)arg;
|
||||||
#if CONFIG_MAX_TASK_ARGS > 2
|
#if CONFIG_MAX_TASK_ARGS > 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user