diff options
Diffstat (limited to 'nuttx/sched/mq_findnamed.c')
-rw-r--r-- | nuttx/sched/mq_findnamed.c | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/nuttx/sched/mq_findnamed.c b/nuttx/sched/mq_findnamed.c index a74caba7b9..851052e280 100644 --- a/nuttx/sched/mq_findnamed.c +++ b/nuttx/sched/mq_findnamed.c @@ -1,7 +1,7 @@ -/************************************************************ - * mq_findnamed.c +/************************************************************************ + * sched/mq_findnamed.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 @@ -31,41 +31,42 @@ * 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 <string.h> #include "mq_internal.h" -/************************************************************ +/************************************************************************ * Definitions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Type Declarations - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Global Variables - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Variables - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Private Functions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Public Functions - ************************************************************/ + ************************************************************************/ -/************************************************************ +/************************************************************************ * Function: mq_findnamed * * Description: @@ -79,7 +80,7 @@ * A reference to the matching named message queue * structure (or NULL if none was found). * - ************************************************************/ + ************************************************************************/ FAR msgq_t *mq_findnamed(const char *mq_name) { |