From c3b14f98eab244b2ce9132579d2aaa72a9cf9a63 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 28 Jun 2017 13:56:46 -0600 Subject: [PATCH] tools/: Remove dangling space at the end of lines. --- tools/noteinfo.c | 4 ++-- tools/nxstyle.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/noteinfo.c b/tools/noteinfo.c index 54ebdc29c2..3cdc843a30 100644 --- a/tools/noteinfo.c +++ b/tools/noteinfo.c @@ -729,7 +729,7 @@ struct note_common_s }; #define NTYPES 18 -static char *noteid[NTYPES] = +static char *noteid[NTYPES] = { "NOTE_START", /* type = 0 */ "NOTE_STOP", /* type = 1 */ @@ -774,7 +774,7 @@ int main(int argc, char **argv) unsigned int remainder; unsigned int value; char buffer[64]; - + notndx = ni_tail; while (notndx != ni_head) { diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 4fa84eb523..2fb16acf77 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -230,7 +230,7 @@ int main(int argc, char **argv, char **envp) else if (strncmp(&line[indent], "for ", 4) == 0) { - bfor = true; + bfor = true; bstatm = true; } else if (strncmp(&line[indent], "switch ", 7) == 0) @@ -250,7 +250,7 @@ int main(int argc, char **argv, char **envp) else if (strncmp(&line[indent], "for(", 4) == 0) { fprintf(stderr, "Missing whitespace after keyword at line %d:%d\n", lineno, n); - bfor = true; + bfor = true; bstatm = true; } else if (strncmp(&line[indent], "switch(", 7) == 0) @@ -325,7 +325,7 @@ int main(int argc, char **argv, char **envp) ncomment = 0; fprintf(stderr, "Closing without opening comment at line %d:%d\n", - lineno, n); + lineno, n); } }