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:
+16
-16
@@ -57,9 +57,9 @@
|
||||
|
||||
#define CONFIG_MEMCPY_INDEXED_COPY
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
@@ -68,9 +68,9 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/* Can't support CONFIG_MEMCPY_64BIT if the platform does not have 64-bit
|
||||
* integer types.
|
||||
@@ -124,10 +124,10 @@
|
||||
|
||||
#endif /* CONFIG_ENDIAN_BIG */
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Macros for copying words of different alignment.
|
||||
* Uses incremening pointers.
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#define CP_INCR() \
|
||||
{ \
|
||||
@@ -142,10 +142,10 @@
|
||||
INC_VAL(dstN) = dstWord; \
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Macros for copying words of different alignment.
|
||||
* Uses array indexes.
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#define CP_INDEX(idx) \
|
||||
{ \
|
||||
@@ -160,11 +160,11 @@
|
||||
dstN[x] = dstWord; \
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Macros for copying words of different alignment.
|
||||
* Uses incremening pointers or array indexes depending on
|
||||
* configuration.
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#if defined (CONFIG_MEMCPY_INDEXED_COPY)
|
||||
|
||||
@@ -279,9 +279,9 @@
|
||||
return dest; \
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Type Definitions
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_MEMCPY_64BIT
|
||||
typedef uint64_t UIntN;
|
||||
@@ -291,10 +291,10 @@ typedef uint32_t UIntN;
|
||||
# define TYPE_WIDTH 4L
|
||||
#endif
|
||||
|
||||
/********************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*******************************************************************/
|
||||
/********************************************************************
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
* Name: memcpy
|
||||
*
|
||||
* Description:
|
||||
@@ -308,7 +308,7 @@ typedef uint32_t UIntN;
|
||||
* Returned Value:
|
||||
* A pointer to destination buffer
|
||||
*
|
||||
*******************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
void *memcpy(void *dest, const void *src, size_t count)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user