mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Standardize the width of all comment boxes in C files
This commit is contained in:
@@ -41,11 +41,11 @@
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: dprintf
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int dprintf(int fd, FAR const char *fmt, ...)
|
||||
{
|
||||
|
||||
@@ -60,29 +60,29 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Variables
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* fgetc
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int fgetc(FAR FILE *stream)
|
||||
{
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
* buffer. A null terminator is stored after the last character in the
|
||||
* buffer.
|
||||
*
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
char *fgets(FAR char *buf, int buflen, FILE *stream)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
* This API should not be used because it is inherently unsafe. Consider
|
||||
* using fgets which is safer and slightly more efficient.
|
||||
*
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR char *gets(FAR char *s)
|
||||
{
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
* characters from stdin until new-line character, end-of-file condition,
|
||||
* or read error.
|
||||
*
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR char *gets_s(FAR char *s, rsize_t n)
|
||||
{
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
* 'stream' until an EOF or a newline encountered or until a read error
|
||||
* occurs.
|
||||
*
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void consume_eol(FILE *stream, bool consume)
|
||||
{
|
||||
@@ -139,7 +139,7 @@ static void consume_eol(FILE *stream, bool consume)
|
||||
* until a read error occurs. Otherwise, lib_fgets() returns with the
|
||||
* remaining of the incoming stream buffer.
|
||||
*
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR char *lib_fgets(FAR char *buf, size_t buflen, FILE *stream,
|
||||
bool keepnl, bool consume)
|
||||
|
||||
@@ -62,29 +62,29 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Variables
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: printf
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int printf(FAR const char *fmt, ...)
|
||||
{
|
||||
|
||||
@@ -64,29 +64,29 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Variables
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: ungetc
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int ungetc(int c, FAR FILE *stream)
|
||||
{
|
||||
|
||||
@@ -59,29 +59,29 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/**************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Constant Data
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Variables
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: vprintf
|
||||
**************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
int vprintf(FAR const char *fmt, va_list ap)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user