You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/02/09 14:15:14 UTC
[incubator-nuttx-apps] branch master updated: Ensure all source
code end with one and only one newline
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 779197c Ensure all source code end with one and only one newline
779197c is described below
commit 779197c63e08a050c0ae17ab86933981d563a85d
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Feb 7 21:31:07 2020 +0800
Ensure all source code end with one and only one newline
by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
---
examples/elf/tests/helloxx/.gitignore | 2 +-
examples/webserver/httpd-fs/404.html | 2 +-
examples/webserver/httpd-fs/tcp.shtml | 2 +-
examples/wgetjson/webserver/wgetjson/json_cmd.php | 2 +-
examples/wgetjson/webserver/wgetjson/post_cmd.php | 2 +-
graphics/ft80x/ft80x_ramdl.c | 2 +-
graphics/slcd/slcd_mapping.cxx | 2 +-
include/interpreters/minibasic.h | 2 +-
include/testing/.gitignore | 2 +-
platform/dummy/dummy.c | 1 +
testing/.gitignore | 2 +-
wireless/ieee802154/i8sak/i8sak_tx.c | 2 +-
12 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/examples/elf/tests/helloxx/.gitignore b/examples/elf/tests/helloxx/.gitignore
index 049b723..0e5ab0c 100644
--- a/examples/elf/tests/helloxx/.gitignore
+++ b/examples/elf/tests/helloxx/.gitignore
@@ -2,4 +2,4 @@ hello++1
hello++2
hello++3
hello++4
-hello++5
\ No newline at end of file
+hello++5
diff --git a/examples/webserver/httpd-fs/404.html b/examples/webserver/httpd-fs/404.html
index a17711d..60eab8f 100644
--- a/examples/webserver/httpd-fs/404.html
+++ b/examples/webserver/httpd-fs/404.html
@@ -5,4 +5,4 @@
<h3>Go <a href="/">here</a> instead.</h3>
</center>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/examples/webserver/httpd-fs/tcp.shtml b/examples/webserver/httpd-fs/tcp.shtml
index 4c4bffe..f793f27 100644
--- a/examples/webserver/httpd-fs/tcp.shtml
+++ b/examples/webserver/httpd-fs/tcp.shtml
@@ -2,4 +2,4 @@
<h1>Current connections</h1><br><table width="100%">
<tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
%! tcp-connections
-%!: /footer.html
\ No newline at end of file
+%!: /footer.html
diff --git a/examples/wgetjson/webserver/wgetjson/json_cmd.php b/examples/wgetjson/webserver/wgetjson/json_cmd.php
index 458c910..31420ab 100644
--- a/examples/wgetjson/webserver/wgetjson/json_cmd.php
+++ b/examples/wgetjson/webserver/wgetjson/json_cmd.php
@@ -10,4 +10,4 @@ $ja["format"]["interlace"] = false;
$ja["format"]["frame rate"] = 24;
echo json_encode($ja);
-?>
\ No newline at end of file
+?>
diff --git a/examples/wgetjson/webserver/wgetjson/post_cmd.php b/examples/wgetjson/webserver/wgetjson/post_cmd.php
index a352300..c940883 100644
--- a/examples/wgetjson/webserver/wgetjson/post_cmd.php
+++ b/examples/wgetjson/webserver/wgetjson/post_cmd.php
@@ -1,3 +1,3 @@
<?php
echo json_encode($_POST);
-?>
\ No newline at end of file
+?>
diff --git a/graphics/ft80x/ft80x_ramdl.c b/graphics/ft80x/ft80x_ramdl.c
index 47b9cf1..0fee72e 100644
--- a/graphics/ft80x/ft80x_ramdl.c
+++ b/graphics/ft80x/ft80x_ramdl.c
@@ -128,4 +128,4 @@ int ft80x_ramdl_append(int fd, FAR const void *data, size_t len)
DEBUGASSERT(nwritten == len);
return OK;
-}
\ No newline at end of file
+}
diff --git a/graphics/slcd/slcd_mapping.cxx b/graphics/slcd/slcd_mapping.cxx
index 832a7bb..5d580c4 100644
--- a/graphics/slcd/slcd_mapping.cxx
+++ b/graphics/slcd/slcd_mapping.cxx
@@ -193,4 +193,4 @@ namespace SLcd
.segments = SEGMENT_5
}
};
-}
\ No newline at end of file
+}
diff --git a/include/interpreters/minibasic.h b/include/interpreters/minibasic.h
index 6dc8925..083911c 100644
--- a/include/interpreters/minibasic.h
+++ b/include/interpreters/minibasic.h
@@ -69,4 +69,4 @@
int basic(FAR const char *script, FILE *in, FILE *out, FILE *err);
-#endif
\ No newline at end of file
+#endif
diff --git a/include/testing/.gitignore b/include/testing/.gitignore
index 0772ba6..1ec9a26 100644
--- a/include/testing/.gitignore
+++ b/include/testing/.gitignore
@@ -1,2 +1,2 @@
/unity.h
-/unity_internals.h
\ No newline at end of file
+/unity_internals.h
diff --git a/platform/dummy/dummy.c b/platform/dummy/dummy.c
index e69de29..8b13789 100644
--- a/platform/dummy/dummy.c
+++ b/platform/dummy/dummy.c
@@ -0,0 +1 @@
+
diff --git a/testing/.gitignore b/testing/.gitignore
index d1f1067..9e1d259 100644
--- a/testing/.gitignore
+++ b/testing/.gitignore
@@ -1 +1 @@
-/Kconfig
\ No newline at end of file
+/Kconfig
diff --git a/wireless/ieee802154/i8sak/i8sak_tx.c b/wireless/ieee802154/i8sak/i8sak_tx.c
index 84082fb..9c66f26 100644
--- a/wireless/ieee802154/i8sak/i8sak_tx.c
+++ b/wireless/ieee802154/i8sak/i8sak_tx.c
@@ -300,4 +300,4 @@ static void tx_eventcb(FAR struct ieee802154_primitive_s *primitive, FAR void *a
sem_post(&i8sak->sigsem);
i8sak_requestdaemon(i8sak);
-}
\ No newline at end of file
+}