summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-03-17 18:19:04 +1000
committerteor <teor@torproject.org>2020-03-17 18:19:04 +1000
commit9c73f5adc4e766b6c5875deeb365f4e40a6caebc (patch)
treede33bb6449bce1be57425306302b1e667e699737
parent49eec76c5e74e951245c84f495c72978eba2b52a (diff)
downloadtor-9c73f5adc4e766b6c5875deeb365f4e40a6caebc.tar.gz
tor-9c73f5adc4e766b6c5875deeb365f4e40a6caebc.zip
Run "make autostyle"
-rw-r--r--src/lib/osinfo/uname.c2
-rw-r--r--src/test/test_util.c2
-rw-r--r--src/test/test_util_process.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c
index 800acdddb6..f7f5ede307 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 fecd279096..a9cc54d8f6 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 f0e7334a9b..fc79fe9b1f 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),