This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit d60fb1168d1de9bf0f8207d3f562114b53cd14df Author: Alin Jerpelea <[email protected]> AuthorDate: Thu Apr 21 08:28:00 2022 +0000 nxstyle fixes fixes for nxstyle errors reported by CI Signed-off-by: Alin Jerpelea <[email protected]> --- graphics/nxglyphs/include/cursor-arrow1-16x16.h | 4 ++++ graphics/nxglyphs/include/cursor-arrow1-30x30.h | 4 ++++ graphics/nxglyphs/include/cursor-arrow2-16x16.h | 4 ++++ graphics/nxglyphs/include/cursor-arrow2-30x30.h | 4 ++++ graphics/nxglyphs/include/cursor-grab-14x16.h | 4 ++++ graphics/nxglyphs/include/cursor-grab-25x30.h | 4 ++++ graphics/nxglyphs/include/cursor-resize-16x16.h | 4 ++++ graphics/nxglyphs/include/cursor-resize-30x30.h | 4 ++++ graphics/nxglyphs/include/cursor-resize-61x62.h | 4 ++++ graphics/nxglyphs/include/cursor-wait-13x16.h | 4 ++++ graphics/nxglyphs/include/cursor-wait-23x30.h | 4 ++++ graphics/nxglyphs/include/cursor-zoomin-16x16.h | 4 ++++ graphics/nxglyphs/include/cursor-zoomin-30x30.h | 4 ++++ graphics/nxglyphs/include/cursor-zoomout-16x16.h | 4 ++++ graphics/nxglyphs/include/cursor-zoomout-30x30.h | 4 ++++ include/netutils/pppd.h | 8 ++++---- interpreters/ficl/src/nuttx.h | 4 ++++ nshlib/nsh_romfsimg.h | 3 ++- platform/dummy/dummy.c | 3 +++ 19 files changed, 73 insertions(+), 5 deletions(-) diff --git a/graphics/nxglyphs/include/cursor-arrow1-16x16.h b/graphics/nxglyphs/include/cursor-arrow1-16x16.h index 58f82ac34..480cb971c 100644 --- a/graphics/nxglyphs/include/cursor-arrow1-16x16.h +++ b/graphics/nxglyphs/include/cursor-arrow1-16x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-arrow1-30x30.h b/graphics/nxglyphs/include/cursor-arrow1-30x30.h index c6137553b..65f2e6df0 100644 --- a/graphics/nxglyphs/include/cursor-arrow1-30x30.h +++ b/graphics/nxglyphs/include/cursor-arrow1-30x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-arrow2-16x16.h b/graphics/nxglyphs/include/cursor-arrow2-16x16.h index 22de3e3a6..773cc2938 100644 --- a/graphics/nxglyphs/include/cursor-arrow2-16x16.h +++ b/graphics/nxglyphs/include/cursor-arrow2-16x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-arrow2-30x30.h b/graphics/nxglyphs/include/cursor-arrow2-30x30.h index 1fabf3c0a..7cbf62371 100644 --- a/graphics/nxglyphs/include/cursor-arrow2-30x30.h +++ b/graphics/nxglyphs/include/cursor-arrow2-30x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-grab-14x16.h b/graphics/nxglyphs/include/cursor-grab-14x16.h index 210aa95a6..e3dc2e216 100644 --- a/graphics/nxglyphs/include/cursor-grab-14x16.h +++ b/graphics/nxglyphs/include/cursor-grab-14x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-grab-25x30.h b/graphics/nxglyphs/include/cursor-grab-25x30.h index 4e7f7a63c..6c7e41402 100644 --- a/graphics/nxglyphs/include/cursor-grab-25x30.h +++ b/graphics/nxglyphs/include/cursor-grab-25x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-resize-16x16.h b/graphics/nxglyphs/include/cursor-resize-16x16.h index 2c45311d3..54b8e750e 100644 --- a/graphics/nxglyphs/include/cursor-resize-16x16.h +++ b/graphics/nxglyphs/include/cursor-resize-16x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-resize-30x30.h b/graphics/nxglyphs/include/cursor-resize-30x30.h index 092013798..4795bffd8 100644 --- a/graphics/nxglyphs/include/cursor-resize-30x30.h +++ b/graphics/nxglyphs/include/cursor-resize-30x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-resize-61x62.h b/graphics/nxglyphs/include/cursor-resize-61x62.h index 6fb20d8b6..048c05339 100644 --- a/graphics/nxglyphs/include/cursor-resize-61x62.h +++ b/graphics/nxglyphs/include/cursor-resize-61x62.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-wait-13x16.h b/graphics/nxglyphs/include/cursor-wait-13x16.h index a378dfd36..bafdf8ec9 100644 --- a/graphics/nxglyphs/include/cursor-wait-13x16.h +++ b/graphics/nxglyphs/include/cursor-wait-13x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-wait-23x30.h b/graphics/nxglyphs/include/cursor-wait-23x30.h index f0ac8d30c..f705dcdfa 100644 --- a/graphics/nxglyphs/include/cursor-wait-23x30.h +++ b/graphics/nxglyphs/include/cursor-wait-23x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-zoomin-16x16.h b/graphics/nxglyphs/include/cursor-zoomin-16x16.h index 82562dfbe..ca3e02826 100644 --- a/graphics/nxglyphs/include/cursor-zoomin-16x16.h +++ b/graphics/nxglyphs/include/cursor-zoomin-16x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-zoomin-30x30.h b/graphics/nxglyphs/include/cursor-zoomin-30x30.h index e8cd88756..d4bc25c92 100644 --- a/graphics/nxglyphs/include/cursor-zoomin-30x30.h +++ b/graphics/nxglyphs/include/cursor-zoomin-30x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-zoomout-16x16.h b/graphics/nxglyphs/include/cursor-zoomout-16x16.h index 9c6de3e8c..d75709c87 100644 --- a/graphics/nxglyphs/include/cursor-zoomout-16x16.h +++ b/graphics/nxglyphs/include/cursor-zoomout-16x16.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/graphics/nxglyphs/include/cursor-zoomout-30x30.h b/graphics/nxglyphs/include/cursor-zoomout-30x30.h index 55dbfbfae..6217946df 100644 --- a/graphics/nxglyphs/include/cursor-zoomout-30x30.h +++ b/graphics/nxglyphs/include/cursor-zoomout-30x30.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <nuttx/config.h> #include <stdint.h> diff --git a/include/netutils/pppd.h b/include/netutils/pppd.h index ae0d90a6b..4e24e3f94 100644 --- a/include/netutils/pppd.h +++ b/include/netutils/pppd.h @@ -63,11 +63,11 @@ struct pppd_settings_s /* Chat Scripts */ - FAR const char* connect_script; - FAR const char* disconnect_script; + FAR const char *connect_script; + FAR const char *disconnect_script; }; - /**************************************************************************** +/**************************************************************************** * Public Data ****************************************************************************/ @@ -80,7 +80,7 @@ extern "C" #endif /**************************************************************************** - * Public Functions + * Public Functions Definitions ****************************************************************************/ /**************************************************************************** diff --git a/interpreters/ficl/src/nuttx.h b/interpreters/ficl/src/nuttx.h index 41395e8fa..d6f9be32d 100644 --- a/interpreters/ficl/src/nuttx.h +++ b/interpreters/ficl/src/nuttx.h @@ -18,6 +18,10 @@ * ***************************************************************************/ +/*************************************************************************** + * Included Files + ***************************************************************************/ + #include <stdint.h> typedef int8_t ficlInteger8; diff --git a/nshlib/nsh_romfsimg.h b/nshlib/nsh_romfsimg.h index 67d0287ec..255336783 100644 --- a/nshlib/nsh_romfsimg.h +++ b/nshlib/nsh_romfsimg.h @@ -18,7 +18,8 @@ * ***************************************************************************/ -const unsigned char romfs_img[] = { +const unsigned char romfs_img[] = +{ 0x2d, 0x72, 0x6f, 0x6d, 0x31, 0x66, 0x73, 0x2d, 0x00, 0x00, 0x01, 0x50, 0x9f, 0x13, 0x82, 0x87, 0x4e, 0x53, 0x48, 0x49, 0x6e, 0x69, 0x74, 0x56, 0x6f, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x49, diff --git a/platform/dummy/dummy.c b/platform/dummy/dummy.c index 0334fcbc2..229d8eb43 100644 --- a/platform/dummy/dummy.c +++ b/platform/dummy/dummy.c @@ -18,3 +18,6 @@ * ***************************************************************************/ +/*************************************************************************** + * Private Functions + ***************************************************************************/
