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 --- apps/ChangeLog.txt | 2 ++ apps/examples/thttpd/content/tasks/tasks.c | 4 ++-- apps/nshlib/nsh_proccmds.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index abeab4a5c..bb568ee53 100644 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -513,4 +513,6 @@ * Type of argv has changed from const char ** to char * const * * apps/nshlib/nsh_parse.c: Fix memory lead: Need to detach after creating a pthread. + * apps/examples and nshlib: Change name of _TCB to struct tcb_s to + match NuttX name change. diff --git a/apps/examples/thttpd/content/tasks/tasks.c b/apps/examples/thttpd/content/tasks/tasks.c index e2eedf781..131cbd60f 100644 --- a/apps/examples/thttpd/content/tasks/tasks.c +++ b/apps/examples/thttpd/content/tasks/tasks.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * 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. */ -/* static */ void show_task(FAR _TCB *tcb, FAR void *arg) +/* static */ void show_task(FAR struct tcb_s *tcb, FAR void *arg) { int i; diff --git a/apps/nshlib/nsh_proccmds.c b/apps/nshlib/nsh_proccmds.c index 487214501..3f206b592 100644 --- a/apps/nshlib/nsh_proccmds.c +++ b/apps/nshlib/nsh_proccmds.c @@ -110,7 +110,7 @@ static const char *g_ttypenames[4] = ****************************************************************************/ #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; #if CONFIG_MAX_TASK_ARGS > 2 -- cgit v1.2.3