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
This commit is contained in:
Xiang Xiao
2020-02-07 21:17:25 +08:00
committed by Gregory Nutt
parent 81f1133174
commit a8de37fbec
97 changed files with 95 additions and 78 deletions
+1 -1
View File
@@ -52,4 +52,4 @@ CSRCS += lfs.c lfs_util.c lfs_vfs.c
DEPPATH += --dep-path littlefs
VPATH += :littlefs
endif
endif
+1 -1
View File
@@ -12,4 +12,4 @@ SPIFFS2 thoughts
* Steal one page, use as a bit parity page. When starting an fs modification operation, write one bit
as zero. When ending, write another bit as zero. On mount, if number of zeroes in page is uneven, a
check is automatically run.
check is automatically run.
+1 -1
View File
@@ -2216,4 +2216,4 @@ int spiffs_dump(FAR struct spiffs_s *fs)
(long)(ndata_pages * data_pgsize));
return OK;
}
#endif
#endif
+1 -1
View File
@@ -49,4 +49,4 @@
****************************************************************************/
#endif /* CONFIG_FS_USERFS */
#endif /* __FS_USERFS_USERFS_H */
#endif /* __FS_USERFS_USERFS_H */