mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
include/: Remove dangling space at the end of lines.
This commit is contained in:
+5
-5
@@ -188,8 +188,8 @@ struct hostent
|
|||||||
* host names, terminated by a null pointer. */
|
* host names, terminated by a null pointer. */
|
||||||
int h_addrtype; /* Address type. */
|
int h_addrtype; /* Address type. */
|
||||||
int h_length; /* The length, in bytes, of the address. */
|
int h_length; /* The length, in bytes, of the address. */
|
||||||
FAR char **h_addr_list; /* A pointer to an array of pointers to network
|
FAR char **h_addr_list; /* A pointer to an array of pointers to network
|
||||||
* addresses (in network byte order) for the host,
|
* addresses (in network byte order) for the host,
|
||||||
* terminated by a null pointer. */
|
* terminated by a null pointer. */
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ struct netent
|
|||||||
uint32_t n_net; /* The network number, in host byte order. */
|
uint32_t n_net; /* The network number, in host byte order. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct protoent
|
struct protoent
|
||||||
{
|
{
|
||||||
FAR char *p_name; /* Official name of the protocol. */
|
FAR char *p_name; /* Official name of the protocol. */
|
||||||
FAR char **p_aliases; /* A pointer to an array of pointers to
|
FAR char **p_aliases; /* A pointer to an array of pointers to
|
||||||
@@ -214,7 +214,7 @@ struct protoent
|
|||||||
int p_proto; /* The protocol number. */
|
int p_proto; /* The protocol number. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct servent
|
struct servent
|
||||||
{
|
{
|
||||||
FAR char *s_name; /* Official name of the service. */
|
FAR char *s_name; /* Official name of the service. */
|
||||||
FAR char **s_aliases; /* A pointer to an array of pointers to
|
FAR char **s_aliases; /* A pointer to an array of pointers to
|
||||||
@@ -226,7 +226,7 @@ struct servent
|
|||||||
* contacting the service. */
|
* contacting the service. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct addrinfo
|
struct addrinfo
|
||||||
{
|
{
|
||||||
int ai_flags; /* Input flags. */
|
int ai_flags; /* Input flags. */
|
||||||
int ai_family; /* Address family of socket. */
|
int ai_family; /* Address family of socket. */
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
#define IEEE695_OMFEXT_PROTECTED 0x04 /* Protected memory library */
|
#define IEEE695_OMFEXT_PROTECTED 0x04 /* Protected memory library */
|
||||||
#define IEEE695_OMFEXT_LNKDIR 0x05 /* Microsoft C++ linker directives record */
|
#define IEEE695_OMFEXT_LNKDIR 0x05 /* Microsoft C++ linker directives record */
|
||||||
#define IEEE695_OMFEXT_BIGENDIAN 0x06 /* Big-endian */
|
#define IEEE695_OMFEXT_BIGENDIAN 0x06 /* Big-endian */
|
||||||
#define IEEE695_OMFEXT_PRECOMP 0x07
|
#define IEEE695_OMFEXT_PRECOMP 0x07
|
||||||
/* 0x08-0xff Reserved */
|
/* 0x08-0xff Reserved */
|
||||||
|
|
||||||
/* Link pass separator. This record conveys information to the linker about the
|
/* Link pass separator. This record conveys information to the linker about the
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
/* These must exactly match the definitions from include/sys/stat.h: */
|
/* These must exactly match the definitions from include/sys/stat.h: */
|
||||||
|
|
||||||
#define NUTTX_S_IFIFO 0010000
|
#define NUTTX_S_IFIFO 0010000
|
||||||
#define NUTTX_S_IFCHR 0020000
|
#define NUTTX_S_IFCHR 0020000
|
||||||
#define NUTTX_S_IFDIR 0040000
|
#define NUTTX_S_IFDIR 0040000
|
||||||
#define NUTTX_S_IFBLK 0060000
|
#define NUTTX_S_IFBLK 0060000
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ struct mxt_lower_s
|
|||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define EXTERN extern "C"
|
#define EXTERN extern "C"
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#else
|
#else
|
||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
* Unicode number plus 0x01000000. The keysym values in the range
|
* Unicode number plus 0x01000000. The keysym values in the range
|
||||||
* 0x01000100 to 0x0110ffff are reserved to represent Unicode
|
* 0x01000100 to 0x0110ffff are reserved to represent Unicode
|
||||||
* characters in the range U+0100 to U+10FFFF.
|
* characters in the range U+0100 to U+10FFFF.
|
||||||
*
|
*
|
||||||
* While most newer Unicode-based X11 clients do already accept
|
* While most newer Unicode-based X11 clients do already accept
|
||||||
* Unicode-mapped keysyms in the range 0x01000100 to 0x0110ffff, it
|
* Unicode-mapped keysyms in the range 0x01000100 to 0x0110ffff, it
|
||||||
* will remain necessary for clients -- in the interest of
|
* will remain necessary for clients -- in the interest of
|
||||||
@@ -1905,7 +1905,7 @@
|
|||||||
#endif /* XK_CAUCASUS */
|
#endif /* XK_CAUCASUS */
|
||||||
|
|
||||||
/* Vietnamese */
|
/* Vietnamese */
|
||||||
|
|
||||||
#ifdef XK_VIETNAMESE
|
#ifdef XK_VIETNAMESE
|
||||||
# define XK_Abelowdot 0x1001ea0 /* U+1EA0 LATIN CAPITAL LETTER A WITH DOT BELOW */
|
# define XK_Abelowdot 0x1001ea0 /* U+1EA0 LATIN CAPITAL LETTER A WITH DOT BELOW */
|
||||||
# define XK_abelowdot 0x1001ea1 /* U+1EA1 LATIN SMALL LETTER A WITH DOT BELOW */
|
# define XK_abelowdot 0x1001ea1 /* U+1EA1 LATIN SMALL LETTER A WITH DOT BELOW */
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ extern "C"
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
FAR struct lcd_dev_s *st7565_initialize(FAR struct st7565_lcd_s *lcd,
|
FAR struct lcd_dev_s *st7565_initialize(FAR struct st7565_lcd_s *lcd,
|
||||||
unsigned int devno);
|
unsigned int devno);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
/* Four byte offsets; Pointers may be 4 or 8 bytes
|
/* Four byte offsets; Pointers may be 4 or 8 bytes
|
||||||
* sizeof(struct mm_freenode_s) is 16 or 24 bytes.
|
* sizeof(struct mm_freenode_s) is 16 or 24 bytes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
# if UINTPTR_MAX <= UINT32_MAX
|
# if UINTPTR_MAX <= UINT32_MAX
|
||||||
# define MM_MIN_SHIFT 4 /* 16 bytes */
|
# define MM_MIN_SHIFT 4 /* 16 bytes */
|
||||||
# elif UINTPTR_MAX <= UINT64_MAX
|
# elif UINTPTR_MAX <= UINT64_MAX
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ struct mtd_smart_procfs_data_s
|
|||||||
size_t neraseblocks; /* Number of erase blocks */
|
size_t neraseblocks; /* Number of erase blocks */
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_MTD_SMART_ALLOC_DEBUG
|
#ifdef CONFIG_MTD_SMART_ALLOC_DEBUG
|
||||||
FAR const struct smart_alloc_s *allocs; /* Array of allocations */
|
FAR const struct smart_alloc_s *allocs; /* Array of allocations */
|
||||||
uint16_t alloccount; /* Number of items in the array */
|
uint16_t alloccount; /* Number of items in the array */
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_MTD_SMART_WEAR_LEVEL
|
#ifdef CONFIG_MTD_SMART_WEAR_LEVEL
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
#define RTR_SOLICITATION_INTERVAL 10 /* Seconds */
|
#define RTR_SOLICITATION_INTERVAL 10 /* Seconds */
|
||||||
#define MAX_RTR_SOLICITATIONS 3 /* Transmissions */
|
#define MAX_RTR_SOLICITATIONS 3 /* Transmissions */
|
||||||
#define MAX_RTR_SOLICITATION_INTERVAL 60 /* Seconds */
|
#define MAX_RTR_SOLICITATION_INTERVAL 60 /* Seconds */
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ struct spi_sdev_s; /* Forward reference */
|
|||||||
|
|
||||||
struct spi_sctrlrops_s
|
struct spi_sctrlrops_s
|
||||||
{
|
{
|
||||||
CODE void (*bind)(FAR struct spi_sctrlr_s *sctrlr,
|
CODE void (*bind)(FAR struct spi_sctrlr_s *sctrlr,
|
||||||
FAR struct spi_sdev_s *sdev, enum spi_smode_e mode,
|
FAR struct spi_sdev_s *sdev, enum spi_smode_e mode,
|
||||||
int nbits);
|
int nbits);
|
||||||
CODE void (*unbind)(FAR struct spi_sctrlr_s *sctrlr);
|
CODE void (*unbind)(FAR struct spi_sctrlr_s *sctrlr);
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ extern "C"
|
|||||||
* Name: syslog_console_init
|
* Name: syslog_console_init
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Create the console logging device and register it at the '/dev/console'
|
* Create the console logging device and register it at the '/dev/console'
|
||||||
* path.
|
* path.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
(head)->sph_root = tmp; \
|
(head)->sph_root = tmp; \
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
#define SPLAY_ROTATE_LEFT(head, tmp, field) \
|
#define SPLAY_ROTATE_LEFT(head, tmp, field) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
|
|
||||||
/* Hub max ports */
|
/* Hub max ports */
|
||||||
|
|
||||||
#define USBHUB_MAX_PORTS (7)
|
#define USBHUB_MAX_PORTS (7)
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
@@ -192,7 +192,7 @@ struct usb_portstatus_s
|
|||||||
struct usb_hubtt_s
|
struct usb_hubtt_s
|
||||||
{
|
{
|
||||||
/* Hub class that is the transaction translator for device */
|
/* Hub class that is the transaction translator for device */
|
||||||
|
|
||||||
FAR struct usbhost_class_s *class;
|
FAR struct usbhost_class_s *class;
|
||||||
|
|
||||||
/* Transaction translator think time */
|
/* Transaction translator think time */
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ void vnc_mouseout(FAR void *arg, nxgl_coord_t x, nxgl_coord_t y,
|
|||||||
vnc_fbinitialize((d), NULL, vnc_mouseout, (FAR void *)(h))
|
vnc_fbinitialize((d), NULL, vnc_mouseout, (FAR void *)(h))
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define vnc_default_fbinitialize(d,h) \
|
#define vnc_default_fbinitialize(d,h) \
|
||||||
vnc_fbinitialize((d), NULL, NULL, NULL)
|
vnc_fbinitialize((d), NULL, NULL, NULL)
|
||||||
|
|
||||||
|
|||||||
@@ -350,7 +350,7 @@
|
|||||||
/* Organizationally Unique Identifiers.
|
/* Organizationally Unique Identifiers.
|
||||||
* See http://standards.ieee.org/regauth/oui/oui.txt for a list.
|
* See http://standards.ieee.org/regauth/oui/oui.txt for a list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ATHEROS_OUI ((const uint8_t[]){ 0x00, 0x03, 0x7f })
|
#define ATHEROS_OUI ((const uint8_t[]){ 0x00, 0x03, 0x7f })
|
||||||
#define BROADCOM_OUI ((const uint8_t[]){ 0x00, 0x90, 0x4c })
|
#define BROADCOM_OUI ((const uint8_t[]){ 0x00, 0x90, 0x4c })
|
||||||
#define IEEE80211_OUI ((const uint8_t[]){ 0x00, 0x0f, 0xac })
|
#define IEEE80211_OUI ((const uint8_t[]){ 0x00, 0x0f, 0xac })
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ struct iw_param
|
|||||||
/* Large data reference. For all data larger than 16 octets, we need to use a
|
/* Large data reference. For all data larger than 16 octets, we need to use a
|
||||||
* pointer to memory allocated in user space.
|
* pointer to memory allocated in user space.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct iw_point
|
struct iw_point
|
||||||
{
|
{
|
||||||
FAR void *pointer; /* Pointer to the data (in user space) */
|
FAR void *pointer; /* Pointer to the data (in user space) */
|
||||||
@@ -436,14 +436,14 @@ union iwreq_data
|
|||||||
struct iw_param frag; /* Fragmentation threshold */
|
struct iw_param frag; /* Fragmentation threshold */
|
||||||
uint32_t mode; /* Operation mode */
|
uint32_t mode; /* Operation mode */
|
||||||
struct iw_param retry; /* Retry limits & lifetime */
|
struct iw_param retry; /* Retry limits & lifetime */
|
||||||
|
|
||||||
struct iw_point encoding; /* Encoding stuff : tokens */
|
struct iw_point encoding; /* Encoding stuff : tokens */
|
||||||
struct iw_param power; /* PM duration/timeout */
|
struct iw_param power; /* PM duration/timeout */
|
||||||
struct iw_quality qual; /* Quality part of statistics */
|
struct iw_quality qual; /* Quality part of statistics */
|
||||||
|
|
||||||
struct sockaddr ap_addr; /* Access point address */
|
struct sockaddr ap_addr; /* Access point address */
|
||||||
struct sockaddr addr; /* Destination address (hw/mac) */
|
struct sockaddr addr; /* Destination address (hw/mac) */
|
||||||
|
|
||||||
struct iw_param param; /* Other small parameters */
|
struct iw_param param; /* Other small parameters */
|
||||||
struct iw_point data; /* Other large parameters */
|
struct iw_point data; /* Other large parameters */
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ extern "C"
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If the TZ database is built as a ROMFS file system, then these variables
|
/* If the TZ database is built as a ROMFS file system, then these variables
|
||||||
* provide (1) the address of the array in FLASH/ROM that contains the
|
* provide (1) the address of the array in FLASH/ROM that contains the
|
||||||
* ROMFS file system image, and (2) the size of the ROMFS file system image
|
* ROMFS file system image, and (2) the size of the ROMFS file system image
|
||||||
* in bytes. This is sufficient information to permit external logic to
|
* in bytes. This is sufficient information to permit external logic to
|
||||||
* mount the ROMF file system.
|
* mount the ROMF file system.
|
||||||
|
|||||||
+1
-1
@@ -127,7 +127,7 @@
|
|||||||
* POSIX_TYPED_MEM_MAP_ALLOCATABLE
|
* POSIX_TYPED_MEM_MAP_ALLOCATABLE
|
||||||
* Map on mmap(), without affecting allocatability.
|
* Map on mmap(), without affecting allocatability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define POSIX_TYPED_MEM_ALLOCATE (0)
|
#define POSIX_TYPED_MEM_ALLOCATE (0)
|
||||||
#define POSIX_TYPED_MEM_ALLOCATE_CONTIG (1)
|
#define POSIX_TYPED_MEM_ALLOCATE_CONTIG (1)
|
||||||
#define POSIX_TYPED_MEM_MAP_ALLOCATABLE (2)
|
#define POSIX_TYPED_MEM_MAP_ALLOCATABLE (2)
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* The sys/un.> header defines the type sa_family_t as described in
|
/* The sys/un.> header defines the type sa_family_t as described in
|
||||||
* sys/socket.h.
|
* sys/socket.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|||||||
+17
-17
@@ -53,17 +53,17 @@
|
|||||||
/* The option argument to openlog() is an OR of any of these:
|
/* The option argument to openlog() is an OR of any of these:
|
||||||
*
|
*
|
||||||
* LOG_CONS - Write directly to system console if there is an error
|
* LOG_CONS - Write directly to system console if there is an error
|
||||||
* while sending to system logger.
|
* while sending to system logger.
|
||||||
* LOG_NDELAY - Open the connection immediately (normally, the connection
|
* LOG_NDELAY - Open the connection immediately (normally, the connection
|
||||||
* is opened when the first message is logged).
|
* is opened when the first message is logged).
|
||||||
* LOG_NOWAIT - Don't wait for child processes that may have been created
|
* LOG_NOWAIT - Don't wait for child processes that may have been created
|
||||||
* while logging the message.
|
* while logging the message.
|
||||||
* LOG_ODELAY - The converse of LOG_NDELAY; opening of the connection is
|
* LOG_ODELAY - The converse of LOG_NDELAY; opening of the connection is
|
||||||
* delayed until syslog() is called. (This is the default,
|
* delayed until syslog() is called. (This is the default,
|
||||||
* and need not be specified.)
|
* and need not be specified.)
|
||||||
* LOG_PERROR - (Not in POSIX.1-2001 or POSIX.1-2008.) Print to stderr
|
* LOG_PERROR - (Not in POSIX.1-2001 or POSIX.1-2008.) Print to stderr
|
||||||
* as well (Linux).
|
* as well (Linux).
|
||||||
* LOG_PID - Include PID with each message.
|
* LOG_PID - Include PID with each message.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Note: openlog() is not currently supported */
|
/* Note: openlog() is not currently supported */
|
||||||
@@ -72,20 +72,20 @@
|
|||||||
* the message. This lets the configuration file specify that messages from
|
* the message. This lets the configuration file specify that messages from
|
||||||
* different facilities will be handled differently.
|
* different facilities will be handled differently.
|
||||||
*
|
*
|
||||||
* LOG_AUTH - Security/authorization messages
|
* LOG_AUTH - Security/authorization messages
|
||||||
* LOG_AUTHPRIV - Security/authorization messages (private)
|
* LOG_AUTHPRIV - Security/authorization messages (private)
|
||||||
* LOG_CRON - Clock daemon (cron and at)
|
* LOG_CRON - Clock daemon (cron and at)
|
||||||
* LOG_DAEMON - System daemons without separate facility value
|
* LOG_DAEMON - System daemons without separate facility value
|
||||||
* LOG_FTP - Ftp daemon
|
* LOG_FTP - Ftp daemon
|
||||||
* LOG_KERN - Lernel messages (these can't be generated from user
|
* LOG_KERN - Lernel messages (these can't be generated from user
|
||||||
* processes)
|
* processes)
|
||||||
* LOG_LOCAL0 through LOG_LOCAL7 - Reserved for local use
|
* LOG_LOCAL0 through LOG_LOCAL7 - Reserved for local use
|
||||||
* LOG_LPR - Line printer subsystem
|
* LOG_LPR - Line printer subsystem
|
||||||
* LOG_MAIL - Mail subsystem
|
* LOG_MAIL - Mail subsystem
|
||||||
* LOG_NEWS - USENET news subsystem
|
* LOG_NEWS - USENET news subsystem
|
||||||
* LOG_SYSLOG - Messages generated internally by syslogd(8)
|
* LOG_SYSLOG - Messages generated internally by syslogd(8)
|
||||||
* LOG_USER - Generic user-level messages (default)
|
* LOG_USER - Generic user-level messages (default)
|
||||||
* LOG_UUCP - UUCP subsystem
|
* LOG_UUCP - UUCP subsystem
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_AUTH 0
|
#define LOG_AUTH 0
|
||||||
|
|||||||
+2
-2
@@ -53,7 +53,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/* <wchar.h> defines the following macro names:
|
/* <wchar.h> defines the following macro names:
|
||||||
*
|
*
|
||||||
* WCHAR_MAX
|
* WCHAR_MAX
|
||||||
* The maximum value representable by an object of type wchar_t.
|
* The maximum value representable by an object of type wchar_t.
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
* functions to indicate end-of-file.
|
* functions to indicate end-of-file.
|
||||||
*
|
*
|
||||||
* NULL
|
* NULL
|
||||||
* As described in <stddef.h>.
|
* As described in <stddef.h>.
|
||||||
*
|
*
|
||||||
* Reference: Opengroup.org
|
* Reference: Opengroup.org
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user