1
0
Fork 0
forked from nuttx/nuttx-update

Standardize the width of all comment boxes in header files

This commit is contained in:
Gregory Nutt 2015-10-02 17:48:24 -06:00
parent 5b51a9fcdd
commit 0f90500f72
17 changed files with 77 additions and 77 deletions

2
arch

@ -1 +1 @@
Subproject commit 6a1d7e2d00220168220fd511937fe3680f3627ef
Subproject commit 277302f14a5869aa14c705b2a928488961fd97de

View file

@ -68,9 +68,9 @@ extern "C"
EXTERN FAR struct binfmt_s *g_binfmts;
/***********************************************************************
/****************************************************************************
* Public Function Prototypes
***********************************************************************/
****************************************************************************/
/****************************************************************************
* Name: dump_module

@ -1 +1 @@
Subproject commit 35414c3a91d471276c7ff7ddc2ef8ba8a47aa9cd
Subproject commit 55aaa32ed3d637d86ccbd538fc75203cd123d485

View file

@ -1,4 +1,4 @@
/**************************************************************************
/****************************************************************************
* drivers/wireless/cc3000/cc3000drv.h - Driver wrapper functions to
* connect nuttx to the TI CC3000
*

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* include/errno.h
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
@ -31,20 +31,20 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************/
****************************************************************************/
#ifndef __INCLUDE_ERRNO_H
#define __INCLUDE_ERRNO_H
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/compiler.h>
/************************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************************/
****************************************************************************/
/* How can we access the errno variable? */
#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
@ -378,13 +378,13 @@
#define ECANCELED 125
#define ECANCELED_STR "Operation cancelled"
/************************************************************************
/****************************************************************************
* Public Type Definitions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************************/
****************************************************************************/
#undef EXTERN
#if defined(__cplusplus)

View file

@ -42,9 +42,9 @@
#include <stdint.h>
/**************************************************************************
/****************************************************************************
* Pre-processor Definitions
**************************************************************************/
****************************************************************************/
/* Common numbers */
@ -191,9 +191,9 @@
# define ub16divub16(a,b) (ub16_t)(ub16toub32(a)/(ub32_t)(b))
#endif
/**************************************************************************
/****************************************************************************
* Public Types
**************************************************************************/
****************************************************************************/
typedef int16_t b8_t;
typedef uint16_t ub8_t;
@ -204,9 +204,9 @@ typedef int64_t b32_t;
typedef uint64_t ub32_t;
#endif
/**************************************************************************
/****************************************************************************
* Public Functions
**************************************************************************/
****************************************************************************/
#undef EXTERN
#if defined(__cplusplus)

View file

@ -1604,7 +1604,7 @@ char up_romgetc(FAR const char *ptr);
* Some device drivers may require that the plaform-specific logic
* provide these timing loops for short delays.
*
***************************************************************************/
****************************************************************************/
void up_mdelay(unsigned int milliseconds);
void up_udelay(useconds_t microseconds);
@ -1623,7 +1623,7 @@ void up_udelay(useconds_t microseconds);
* definition only provides the 'contract' between application
* specific C++ code and platform-specific toolchain support
*
***************************************************************************/
****************************************************************************/
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
void up_cxxinitialize(void);
@ -1698,7 +1698,7 @@ void sched_timer_expiration(void);
void sched_alarm_expiration(FAR const struct timespec *ts);
#endif
/************************************************************************
/****************************************************************************
* Name: sched_process_cpuload
*
* Description:
@ -1714,7 +1714,7 @@ void sched_alarm_expiration(FAR const struct timespec *ts);
* This function is called from a timer interrupt handler with all
* interrupts disabled.
*
************************************************************************/
****************************************************************************/
#if defined(CONFIG_SCHED_CPULOAD) && defined(CONFIG_SCHED_CPULOAD_EXTCLK)
void weak_function sched_process_cpuload(void);
@ -1728,7 +1728,7 @@ void weak_function sched_process_cpuload(void);
* order to dispatch an interrupt to the appropriate, registered handling
* logic.
*
***************************************************************************/
****************************************************************************/
void irq_dispatch(int irq, FAR void *context);

View file

@ -249,7 +249,7 @@ int nxflat_unload(struct nxflat_loadinfo_s *loadinfo);
/****************************************************************************
* These are APIs used internally only by NuttX:
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Name: nxflat_initialize
*
* Description:
@ -262,7 +262,7 @@ int nxflat_unload(struct nxflat_loadinfo_s *loadinfo);
* 0 (OK) is returned on success and a negated errno is returned on
* failure.
*
***********************************************************************/
****************************************************************************/
int nxflat_initialize(void);

View file

@ -351,7 +351,7 @@ int board_ioctl(unsigned int cmd, uintptr_t arg);
* multiple LCD devices.
* board_lcd_uninitialize - Uninitialize the LCD support
*
***************************************************************************/
****************************************************************************/
#ifdef CONFIG_LCD
struct lcd_dev_s; /* Forward reference */

View file

@ -112,7 +112,7 @@ extern "C"
#define EXTERN extern
#endif
/************************************************************************
/****************************************************************************
* Name: mq_msgqfree
*
* Description:
@ -128,7 +128,7 @@ extern "C"
* Return Value:
* None
*
************************************************************************/
****************************************************************************/
void mq_msgqfree(FAR struct mqueue_inode_s *msgq);

View file

@ -1,4 +1,4 @@
/***************************************************************************
/****************************************************************************
* include/nuttx/poff.h
* Definitions for the P-Code Object File Format (POFF)
*
@ -32,21 +32,21 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
***************************************************************************/
****************************************************************************/
#ifndef __INCLUDE_NUXX_POFF_H
#define __INCLUDE_NUXX_POFF_H
/***************************************************************************
/****************************************************************************
* Included Files
***************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <stdint.h>
/***************************************************************************
/****************************************************************************
* Pre-processor Definitions
***************************************************************************/
****************************************************************************/
/* Definitions for the fh_ident field of the poffHdr_t */
@ -157,9 +157,9 @@
#define RLI_TYPE(x) ((x) & 0xff) /* Reloc type */
#define RLI_MAKE(s,t) (((uint32_t)(s) << 8) | ((t) & 0xff))
/***************************************************************************
/****************************************************************************
* Public Types
***************************************************************************/
****************************************************************************/
/* POFF file header */

View file

@ -36,9 +36,9 @@
#ifndef __INCLUDE_NUTTX_RWBUFFER_H
#define __INCLUDE_NUTTX_RWBUFFER_H
/**********************************************************************
/****************************************************************************
* Included Files
**********************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -49,13 +49,13 @@
#if defined(CONFIG_DRVR_WRITEBUFFER) || defined(CONFIG_DRVR_READAHEAD)
/**********************************************************************
/****************************************************************************
* Pre-processor Definitions
**********************************************************************/
****************************************************************************/
/**********************************************************************
/****************************************************************************
* Public Types
**********************************************************************/
****************************************************************************/
/* Data transfer callouts. These must be provided by the block driver
* logic in order to flush the write buffer when appropriate or to
@ -154,9 +154,9 @@ struct rwbuffer_s
#endif
};
/**********************************************************************
/****************************************************************************
* Public Data
**********************************************************************/
****************************************************************************/
#undef EXTERN
#if defined(__cplusplus)
@ -167,9 +167,9 @@ extern "C"
#define EXTERN extern
#endif
/**********************************************************************
/****************************************************************************
* Public Function Prototypes
**********************************************************************/
****************************************************************************/
/* Buffer initialization */

View file

@ -1,4 +1,4 @@
/**************************************************************************
/****************************************************************************
* (C) 2008-2010 by Harald Welte <laforge@gnumonks.org>
*
* This source code is derivated from Osmocom-BB project and was
@ -31,21 +31,21 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
**************************************************************************/
****************************************************************************/
#ifndef __INCLUDE_NUTTX_SERCOM_MSGB_H
#define __INCLUDE_NUTTX_SERCOM_MSGB_H
/**************************************************************************
/****************************************************************************
* Included Files
**************************************************************************/
****************************************************************************/
#include <osmocom/core/linuxlist.h>
#include <console.h>
/**************************************************************************
/****************************************************************************
* Public Types
**************************************************************************/
****************************************************************************/
struct msgb
{
@ -72,9 +72,9 @@ struct msgb
unsigned char _data[0];
};
/**************************************************************************
/****************************************************************************
* Public Function Prototypes
**************************************************************************/
****************************************************************************/
struct msgb *msgb_alloc(uint16_t size, const char *name);
void msgb_free(struct msgb *m);
@ -82,9 +82,9 @@ void msgb_enqueue(struct llist_head *queue, struct msgb *msg);
struct msgb *msgb_dequeue(struct llist_head *queue);
void msgb_reset(struct msgb *m);
/**************************************************************************
/****************************************************************************
* Inline Functions
**************************************************************************/
****************************************************************************/
#define msgb_l1(m) ((void *)(m->l1h))
#define msgb_l2(m) ((void *)(m->l2h))

View file

@ -131,7 +131,7 @@ FAR void *composite_initialize(void);
* Returned Value:
* None
*
***************************************************************************/
****************************************************************************/
void composite_uninitialize(FAR void *handle);

View file

@ -372,7 +372,7 @@ extern "C"
* multiple planes of video.
* up_fbuninitialize - Uninitialize the framebuffer support
*
***************************************************************************/
****************************************************************************/
int up_fbinitialize(void);
FAR struct fb_vtable_s *up_fbgetvplane(int vplane);

View file

@ -70,7 +70,7 @@ extern "C"
#define EXTERN extern
#endif
/************************************************************************
/****************************************************************************
* Name: sendfile
*
* Description:
@ -112,7 +112,7 @@ extern "C"
* EINVAL - Bad input parameters.
* ENOMEM - Could not allocated an I/O buffer
*
************************************************************************/
****************************************************************************/
ssize_t sendfile(int outfd, int infd, FAR off_t *offset, size_t count);

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* sched/wdog/wdog.h
*
* Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
@ -31,14 +31,14 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************/
****************************************************************************/
#ifndef __SCHED_WDOG_WDOG_H
#define __SCHED_WDOG_WDOG_H
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -48,17 +48,17 @@
#include <nuttx/compiler.h>
#include <nuttx/wdog.h>
/************************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Type Declarations
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Data
************************************************************************/
****************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
@ -88,11 +88,11 @@ extern sq_queue_t g_wdactivelist;
extern uint16_t g_wdnfree;
/************************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Name: wd_initialize
*
* Description:
@ -109,7 +109,7 @@ extern uint16_t g_wdnfree;
* before the timer interrupt is attached and before any watchdog
* services are used.
*
************************************************************************/
****************************************************************************/
void weak_function wd_initialize(void);