You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/29 16:28:34 UTC

[incubator-nuttx] 02/02: tools: cxd56: nxstyle fixes

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch releases/9.1
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c6f8a6b069d20b6bc8e3287188080baab4873bdc
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Mon Jun 29 09:17:23 2020 +0200

    tools: cxd56: nxstyle fixes
    
    nxstyle fixes to pass the CI checks
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 tools/cxd56/clefia.c | 6 ++++--
 tools/cxd56/clefia.h | 2 +-
 tools/cxd56/mkspk.c  | 4 ++--
 tools/cxd56/mkspk.h  | 2 +-
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/tools/cxd56/clefia.c b/tools/cxd56/clefia.c
index 02a1755..6eeb64b 100644
--- a/tools/cxd56/clefia.c
+++ b/tools/cxd56/clefia.c
@@ -29,7 +29,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *****************************************************************************/
+ ****************************************************************************/
 
 /****************************************************************************
  * Included Files
@@ -136,7 +136,9 @@ static const unsigned char clefia_s1[256] =
  * Private Functions
  ****************************************************************************/
 
-static void bytecpy(unsigned char *dst, const unsigned char *src, int bytelen)
+static void bytecpy(unsigned char *dst,
+                    const unsigned char *src,
+                    int bytelen)
 {
   while (bytelen-- > 0)
     {
diff --git a/tools/cxd56/clefia.h b/tools/cxd56/clefia.h
index a0e0258..447b0cc 100644
--- a/tools/cxd56/clefia.h
+++ b/tools/cxd56/clefia.h
@@ -29,7 +29,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *****************************************************************************/
+ ****************************************************************************/
 
 #ifndef _TOOLS_CXD56_CLEFIA_H_
 #define _TOOLS_CXD56_CLEFIA_H_
diff --git a/tools/cxd56/mkspk.c b/tools/cxd56/mkspk.c
index c447ad7..e00eedc 100644
--- a/tools/cxd56/mkspk.c
+++ b/tools/cxd56/mkspk.c
@@ -29,7 +29,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *****************************************************************************/
+ ****************************************************************************/
 
 /****************************************************************************
  * Included Files
@@ -133,7 +133,7 @@ static struct args *parse_args(int argc, char **argv)
   if (show_help == 1)
     {
       fprintf(stderr,
-              "mkspk [-c <number>] <filename> <save name> [<output file>]\n");
+        "mkspk [-c <number>] <filename> <save name> [<output file>]\n");
       exit(EXIT_FAILURE);
     }
 
diff --git a/tools/cxd56/mkspk.h b/tools/cxd56/mkspk.h
index 5c1b979..2d8743c 100644
--- a/tools/cxd56/mkspk.h
+++ b/tools/cxd56/mkspk.h
@@ -29,7 +29,7 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *****************************************************************************/
+ ****************************************************************************/
 
 /****************************************************************************
  * Included Files