From e6d521210a8cfdb057dbf6b957f86e9fadbbd709 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 31 Jan 2012 20:32:49 +0000 Subject: [PATCH] Numerous cosmetic changes while debugging a telnet driver issue git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/armv7-m/up_unblocktask.c | 4 ++-- arch/arm/src/common/up_createstack.c | 4 ++-- arch/arm/src/common/up_exit.c | 4 ++-- net/net_close.c | 4 ++-- sched/exit.c | 4 ++-- sched/sched_releasetcb.c | 5 +++-- sched/sched_removereadytorun.c | 4 ++-- sched/task_delete.c | 4 ++-- sched/task_deletecurrent.c | 4 ++-- 9 files changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/arm/src/armv7-m/up_unblocktask.c b/arch/arm/src/armv7-m/up_unblocktask.c index b29f3d89f1..da10f03763 100755 --- a/arch/arm/src/armv7-m/up_unblocktask.c +++ b/arch/arm/src/armv7-m/up_unblocktask.c @@ -1,8 +1,8 @@ /**************************************************************************** * arch/arm/src/armv7-m/up_unblocktask.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/arch/arm/src/common/up_createstack.c b/arch/arm/src/common/up_createstack.c index 068924b4b6..3d6dfef454 100644 --- a/arch/arm/src/common/up_createstack.c +++ b/arch/arm/src/common/up_createstack.c @@ -1,8 +1,8 @@ /**************************************************************************** * arch/arm/src/common/up_createstack.c * - * Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/arch/arm/src/common/up_exit.c b/arch/arm/src/common/up_exit.c index 17de3ade39..926d21509b 100644 --- a/arch/arm/src/common/up_exit.c +++ b/arch/arm/src/common/up_exit.c @@ -1,8 +1,8 @@ /**************************************************************************** * common/up_exit.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/net/net_close.c b/net/net_close.c index cf1c36bfe2..3fc16067a8 100644 --- a/net/net_close.c +++ b/net/net_close.c @@ -70,10 +70,10 @@ struct tcp_close_s ****************************************************************************/ /**************************************************************************** - * Function: netclose_disconnect + * Function: netclose_interrupt * * Description: - * Break any current TCP connection + * Handle uIP callback events. * * Parameters: * conn - uIP TCP connection structure diff --git a/sched/exit.c b/sched/exit.c index 2964b5a01d..651fec8cb0 100644 --- a/sched/exit.c +++ b/sched/exit.c @@ -1,8 +1,8 @@ /**************************************************************************** * sched/exit.c * - * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/sched/sched_releasetcb.c b/sched/sched_releasetcb.c index 5fd5090069..362f67ef57 100644 --- a/sched/sched_releasetcb.c +++ b/sched/sched_releasetcb.c @@ -1,8 +1,8 @@ /************************************************************************ * sched/sched_releasetcb.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -175,6 +175,7 @@ int sched_releasetcb(FAR _TCB *tcb) sched_free(tcb); } + return ret; } diff --git a/sched/sched_removereadytorun.c b/sched/sched_removereadytorun.c index 46f148150a..82c24402cd 100644 --- a/sched/sched_removereadytorun.c +++ b/sched/sched_removereadytorun.c @@ -1,8 +1,8 @@ /**************************************************************************** * shced/sched_removereadytorun.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/sched/task_delete.c b/sched/task_delete.c index 51b3e30da1..31715051a1 100644 --- a/sched/task_delete.c +++ b/sched/task_delete.c @@ -1,8 +1,8 @@ /**************************************************************************** * sched/task_delete.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/sched/task_deletecurrent.c b/sched/task_deletecurrent.c index 0945282c45..77025f5e0a 100644 --- a/sched/task_deletecurrent.c +++ b/sched/task_deletecurrent.c @@ -1,8 +1,8 @@ /**************************************************************************** * sched/task_deletecurrent.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions