From c6f8a6b069d20b6bc8e3287188080baab4873bdc Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 29 Jun 2020 09:17:23 +0200 Subject: [PATCH] tools: cxd56: nxstyle fixes nxstyle fixes to pass the CI checks Signed-off-by: Alin Jerpelea --- 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 02a175505d..6eeb64b12a 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 a0e02587da..447b0ccc5a 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 c447ad7dab..e00eedc03c 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 ] []\n"); + "mkspk [-c ] []\n"); exit(EXIT_FAILURE); } diff --git a/tools/cxd56/mkspk.h b/tools/cxd56/mkspk.h index 5c1b979c04..2d8743c720 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