diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ChangeLog.txt | 2 | ||||
-rw-r--r-- | apps/examples/thttpd/content/tasks/tasks.c | 4 | ||||
-rw-r--r-- | apps/nshlib/nsh_proccmds.c | 2 |
3 files changed, 5 insertions, 3 deletions
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 <gnutt@nuttx.org> * * 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 |