[tor-commits] [tor/master] Run "make autostyle"

teor at torproject.org teor at torproject.org
Tue Mar 17 08:21:15 UTC 2020


commit 9c73f5adc4e766b6c5875deeb365f4e40a6caebc
Author: teor <teor at torproject.org>
Date:   Tue Mar 17 18:19:04 2020 +1000

    Run "make autostyle"
---
 src/lib/osinfo/uname.c       | 2 +-
 src/test/test_util.c         | 2 +-
 src/test/test_util_process.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c
index 800acdddb..f7f5ede30 100644
--- a/src/lib/osinfo/uname.c
+++ b/src/lib/osinfo/uname.c
@@ -59,7 +59,7 @@ static struct {
    {  0,  0, NULL,                        NULL }
    // clang-format on
 };
-#endif
+#endif /* defined(_WIN32) */
 
 /** Return a pointer to a description of our platform.
  */
diff --git a/src/test/test_util.c b/src/test/test_util.c
index fecd27909..a9cc54d8f 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -6369,7 +6369,7 @@ test_util_map_anon_nofork(void *arg)
 #else
 #define UTIL_TEST_PWDB(n, f) UTIL_TEST(n, (f))
 #endif
-#endif
+#endif /* !defined(COCCI) */
 
 struct testcase_t util_tests[] = {
   UTIL_LEGACY(time),
diff --git a/src/test/test_util_process.c b/src/test/test_util_process.c
index f0e7334a9..fc79fe9b1 100644
--- a/src/test/test_util_process.c
+++ b/src/test/test_util_process.c
@@ -73,7 +73,7 @@ test_util_process_clear_waitpid_callback(void *ignored)
 #else
 #define TEST(name) { (#name), NULL, TT_SKIP, NULL, NULL }
 #endif
-#endif
+#endif /* !defined(COCCI) */
 
 struct testcase_t util_process_tests[] = {
   TEST(set_waitpid_callback),



More information about the tor-commits mailing list