]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Run "make autostyle"
authorteor <teor@torproject.org>
Tue, 17 Mar 2020 08:19:04 +0000 (18:19 +1000)
committerteor <teor@torproject.org>
Tue, 17 Mar 2020 08:19:04 +0000 (18:19 +1000)
src/lib/osinfo/uname.c
src/test/test_util.c
src/test/test_util_process.c

index 800acdddb67cd92da7c64043aef6f188f75a2a6f..f7f5ede307ad66713814f7f3866f7ca2b2ba8564 100644 (file)
@@ -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.
  */
index fecd279096567d0a9bf726ae982b8649f6459410..a9cc54d8f69c9617bef60328a33fd51d35570308 100644 (file)
@@ -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),
index f0e7334a9b6c8e7d9f42b23e1db122f90708b1b9..fc79fe9b1fe49617f4de583390c042e4166820f2 100644 (file)
@@ -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),