summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),