summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/sig_releasependingsignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sig_releasependingsignal.c')
-rw-r--r--nuttx/sched/sig_releasependingsignal.c45
1 files changed, 23 insertions, 22 deletions
diff --git a/nuttx/sched/sig_releasependingsignal.c b/nuttx/sched/sig_releasependingsignal.c
index 0c5a745958..4059b9bbe4 100644
--- a/nuttx/sched/sig_releasependingsignal.c
+++ b/nuttx/sched/sig_releasependingsignal.c
@@ -1,7 +1,7 @@
-/************************************************************
- * sig_releasependingsignal.c
+/************************************************************************
+ * sched/sig_releasependingsignal.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,13 +31,14 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Included Files
- ************************************************************/
+ ************************************************************************/
+
+#include <nuttx/config.h>
-#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
@@ -50,36 +51,36 @@
#include "os_internal.h"
#include "sig_internal.h"
-/************************************************************
+/************************************************************************
* Definitions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Type Declarations
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Global Variables
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Variables
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Function: sig_releasependingsignal
*
* Description:
* Deallocate a pending signal list entry
- ************************************************************/
+ ************************************************************************/
void sig_releasependingsignal(FAR sigpendq_t *sigpend)
{