mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
nxstyle fixes
Run all files modified by PR 766 through nxstyle and fix any resulting complaints. NOTE: Numerous "Mixed case identifier" errors in arch/arm/src/cxd56xx/cxd56_gnss.c were not fixed because this problem is of much larger scope than this file.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
67ec3d7926
commit
72104c182c
+2
-1
@@ -104,7 +104,8 @@ in_addr_t inet_netof(struct in_addr in);
|
||||
struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host);
|
||||
|
||||
int inet_pton(int af, FAR const char *src, FAR void *dst);
|
||||
const char *inet_ntop(int af, FAR const void *src, FAR char *dst, socklen_t size);
|
||||
const char *inet_ntop(int af, FAR const void *src, FAR char *dst,
|
||||
socklen_t size);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -604,7 +604,9 @@
|
||||
|
||||
# undef CONFIG_HAVE_CXX14
|
||||
|
||||
/* ISO C11 supports anonymous (unnamed) structures and unions. Does ICCARM? */
|
||||
/* ISO C11 supports anonymous (unnamed) structures and unions. Does
|
||||
* ICCARM?
|
||||
*/
|
||||
|
||||
# undef CONFIG_HAVE_ANONYMOUS_STRUCT
|
||||
# undef CONFIG_HAVE_ANONYMOUS_UNION
|
||||
|
||||
+12
-3
@@ -38,6 +38,7 @@
|
||||
/********************************************************************************
|
||||
* Pre-processor Definitions
|
||||
********************************************************************************/
|
||||
|
||||
/* Signal set management definitions and macros. */
|
||||
|
||||
#define NULL_SIGNAL_SET ((sigset_t)0x00000000)
|
||||
@@ -258,7 +259,7 @@
|
||||
#endif
|
||||
|
||||
/********************************************************************************
|
||||
* Public Type Definitions
|
||||
* Public Types
|
||||
********************************************************************************/
|
||||
|
||||
/* This defines a set of 32 signals (numbered 0 through 31).
|
||||
@@ -401,12 +402,20 @@ int sigwaitinfo(FAR const sigset_t *set, FAR struct siginfo *value);
|
||||
|
||||
#else /* __INCLUDE_SIGNAL_H */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/* Avoid circular dependencies by assuring that simple type definitions are
|
||||
* available in any inclusion ordering.
|
||||
*/
|
||||
|
||||
/********************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/********************************************************************************
|
||||
* Public Types
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef __SIGSET_T_DEFINED
|
||||
typedef uint32_t sigset_t;
|
||||
# define __SIGSET_T_DEFINED 1
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ struct mallinfo
|
||||
int uordblks; /* This is the total size of memory occupied by
|
||||
* chunks handed out by malloc. */
|
||||
int fordblks; /* This is the total size of memory occupied
|
||||
* by free (not in use) chunks.*/
|
||||
* by free (not in use) chunks. */
|
||||
};
|
||||
|
||||
/* Structure type returned by the div() function. */
|
||||
|
||||
Reference in New Issue
Block a user