chiark / gitweb /
journal-remote: stop using EWOULDBLOCK
[elogind.git] / src / timedate / timedatectl.c
index 1f85536cf2a60feb1f281424564ceaa747ed67d1..9e04f8f7bf6ff64adcf22167d7ad900cec0e8002 100644 (file)
 
 #include <stdlib.h>
 #include <stdbool.h>
-#include <unistd.h>
 #include <getopt.h>
 #include <locale.h>
-#include <string.h>
-#include <sys/timex.h>
 
 #include "sd-bus.h"
 #include "bus-util.h"
@@ -38,8 +35,6 @@
 #include "pager.h"
 #include "time-dst.h"
 
-#define xstrftime(buf, fmt, tm) assert_se(strftime(buf, sizeof(buf), fmt, tm) > 0)
-
 static bool arg_no_pager = false;
 static bool arg_ask_password = true;
 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;