diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-10 19:16:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-10 19:16:50 +0000 |
commit | 42ce22d7fff7ccce602bb8d96f476fe93de20b92 (patch) | |
tree | 9f063302b18cbd5280c42fd5188d3ff208f10fc1 /nuttx/sched/sig_queue.c | |
parent | 58a696017309806fc345038ba18ac61b17c30f7e (diff) | |
download | px4-nuttx-42ce22d7fff7ccce602bb8d96f476fe93de20b92.tar.gz px4-nuttx-42ce22d7fff7ccce602bb8d96f476fe93de20b92.tar.bz2 px4-nuttx-42ce22d7fff7ccce602bb8d96f476fe93de20b92.zip |
Passing union parms as const upsets ZDS-II compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@547 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sig_queue.c')
-rw-r--r-- | nuttx/sched/sig_queue.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/nuttx/sched/sig_queue.c b/nuttx/sched/sig_queue.c index 0a0f558ec..d0b421b9b 100644 --- a/nuttx/sched/sig_queue.c +++ b/nuttx/sched/sig_queue.c @@ -1,7 +1,7 @@ -/************************************************************ - * sig_queue.c +/**************************************************************************** + * sched/sig_queue.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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,11 +31,11 @@ * 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 <nuttx/compiler.h> @@ -47,31 +47,31 @@ #include "os_internal.h" #include "sig_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Function: sigqueue * * Description: @@ -105,10 +105,10 @@ * * Assumptions: * - ************************************************************/ + ****************************************************************************/ #ifdef CONFIG_CAN_PASS_STRUCTS -int sigqueue (int pid, int signo, const union sigval value) +int sigqueue (int pid, int signo, union sigval value) #else int sigqueue(int pid, int signo, void *sival_ptr) #endif |