summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 19:30:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 19:30:18 +0000
commit6260f872623acfe046f62a728405dbadc2a60c8c (patch)
treed10315fb8eeff8dadcbde87cc1e0715d015bf261 /nuttx/sched/mq_internal.h
parent59f367c060c408a9c9f2ee6db3a4fd498c4a2724 (diff)
downloadpx4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.tar.gz
px4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.tar.bz2
px4-nuttx-6260f872623acfe046f62a728405dbadc2a60c8c.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2337 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_internal.h')
-rw-r--r--nuttx/sched/mq_internal.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/nuttx/sched/mq_internal.h b/nuttx/sched/mq_internal.h
index e5dc3ea3f..6a40144d4 100644
--- a/nuttx/sched/mq_internal.h
+++ b/nuttx/sched/mq_internal.h
@@ -1,7 +1,7 @@
/****************************************************************************
- * mq_internal.h
+ * sched/mq_internal.h
*
- * 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.
*
@@ -33,27 +33,26 @@
*
****************************************************************************/
-#ifndef __MQ_INTERNAL_H
-#define __MQ_INTERNAL_H
+#ifndef __SCHED_MQ_INTERNAL_H
+#define __SCHED_MQ_INTERNAL_H
/****************************************************************************
* Included Files
****************************************************************************/
+#include <nuttx/config.h>
+#include <nuttx/compiler.h>
+
#include <sys/types.h>
+#include <stdint.h>
#include <limits.h>
#include <mqueue.h>
#include <sched.h>
#include <signal.h>
-#include <nuttx/compiler.h>
#if CONFIG_MQ_MAXMSGSIZE > 0
/****************************************************************************
- * Compilations Switches
- ****************************************************************************/
-
-/****************************************************************************
* Definitions
****************************************************************************/
@@ -213,5 +212,5 @@ EXTERN int mq_dosend(mqd_t mqdes, FAR mqmsg_t *mqmsg, const void *msg,
#endif
#endif /* CONFIG_MQ_MAXMSGSIZE > 0 */
-#endif /* __MQ_INTERNAL_H */
+#endif /* __SCHED_MQ_INTERNAL_H */