chiark / gitweb /
Prep v239: Uncomment header inclusions that are new or needed now.
[elogind.git] / src / libelogind / sd-event / test-event.c
index d18e54d421afe6dce138421ac14b71c4ff9cea02..13dcf6ab9b45e8664d1218de4b5174732e662a48 100644 (file)
@@ -1,24 +1,23 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 /***
-  Copyright 2013 Lennart Poettering
 ***/
 
 #include <sys/wait.h>
 
 #include "sd-event.h"
 
-//#include "alloc-util.h"
+#include "alloc-util.h"
 #include "fd-util.h"
-//#include "fileio.h"
-//#include "fs-util.h"
+#include "fileio.h"
+#include "fs-util.h"
 #include "log.h"
 #include "macro.h"
-//#include "parse-util.h"
+#include "parse-util.h"
 //#include "process-util.h"
-//#include "rm-rf.h"
+#include "rm-rf.h"
 #include "signal-util.h"
-//#include "stdio-util.h"
-//#include "string-util.h"
+#include "stdio-util.h"
+#include "string-util.h"
 #include "util.h"
 /// Additional includes needed by elogind
 #include "process-util.h"
@@ -191,7 +190,7 @@ static void test_basic(void) {
 
         got_a = false, got_b = false, got_c = false, got_d = 0;
 
-        /* Add a oneshot handler, trigger it, re-enable it, and trigger
+        /* Add a oneshot handler, trigger it, reenable it, and trigger
          * it again. */
         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);