From 328e7fca1497f1d990d8b55b3cec39c869e3a6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20R=C3=B6nkk=C3=B6?= Date: Sat, 9 Jul 2022 17:55:40 +0300 Subject: [PATCH] Minor --- README.md | 3 ++- tests/t-cplusplus.cpp | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fb61de7..93e21d6 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,8 @@ wmain(int argc, wchar_t *argv[]) return errorcode; } #else -int main(int argc, char *argv[]) +int +main(int argc, char *argv[]) { return _main(argc, argv); } diff --git a/tests/t-cplusplus.cpp b/tests/t-cplusplus.cpp index 0f80a8c..8a8bad4 100644 --- a/tests/t-cplusplus.cpp +++ b/tests/t-cplusplus.cpp @@ -17,7 +17,8 @@ static int only_readme(const struct dirent *entry); static void test_retrieval(void); static void test_scan(void); -int main(int argc, char *argv[]) +int +main(int argc, char *argv[]) { (void) argc; (void) argv; @@ -30,7 +31,8 @@ int main(int argc, char *argv[]) } /* Test basic directory retrieval */ -static void test_retrieval(void) +static void +test_retrieval(void) { /* Open directory */ DIR *dir = opendir("tests/1"); @@ -118,7 +120,8 @@ static void test_retrieval(void) } /* Text basic scan with simple filter function */ -static void test_scan(void) +static void +test_scan(void) { struct dirent **files; @@ -137,7 +140,8 @@ static void test_scan(void) } /* Only pass README.txt file */ -static int only_readme(const struct dirent *entry) +static int +only_readme(const struct dirent *entry) { int pass;