summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/mq_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/mq_notify.c')
-rw-r--r--nuttx/sched/mq_notify.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/nuttx/sched/mq_notify.c b/nuttx/sched/mq_notify.c
index b01a2d7c7e..f491f653af 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)
{