diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 18:39:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 18:39:29 +0000 |
commit | 59f367c060c408a9c9f2ee6db3a4fd498c4a2724 (patch) | |
tree | 80d034ca2b741e6d5b074758c5285f804f772c66 /nuttx/sched/mq_notify.c | |
parent | 24bdea23f746984480bd59dd13dd4d631a210320 (diff) | |
download | px4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.tar.gz px4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.tar.bz2 px4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.zip |
Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_notify.c')
-rw-r--r-- | nuttx/sched/mq_notify.c | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/nuttx/sched/mq_notify.c b/nuttx/sched/mq_notify.c index b01a2d7c7..f491f653a 100644 --- a/nuttx/sched/mq_notify.c +++ b/nuttx/sched/mq_notify.c @@ -1,4 +1,4 @@ -/************************************************************ +/************************************************************************ * sched/mq_notify.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,44 +31,45 @@ * 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> /* uint32, etc. */ #include <signal.h> #include <mqueue.h> #include <sched.h> #include "os_internal.h" #include "mq_internal.h" -/************************************************************ +/************************************************************************ * Definitions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Type Declarations - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Global Variables - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Variables - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Functions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Public Functions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Function: mq_notify * * Description: @@ -110,7 +111,7 @@ * message shall satisfy mq_receive()... The resulting behavior is as if * the message queue remains empty, and no notification shall be sent." * - ************************************************************/ + ************************************************************************/ int mq_notify(mqd_t mqdes, const struct sigevent *notification) { |