summaryrefslogtreecommitdiffstats
path: root/hwclock/hwclock.c
diff options
context:
space:
mode:
authorSami Kerola2011-07-24 19:58:17 +0200
committerSami Kerola2011-07-26 17:28:52 +0200
commit998f392a1f7206282084e6df90cba4007cceea13 (patch)
tree9ed666c54ac171967707382b40f4cccf5a3b529b /hwclock/hwclock.c
parenthwclock: coding style clean up (diff)
downloadkernel-qcow2-util-linux-998f392a1f7206282084e6df90cba4007cceea13.tar.gz
kernel-qcow2-util-linux-998f392a1f7206282084e6df90cba4007cceea13.tar.xz
kernel-qcow2-util-linux-998f392a1f7206282084e6df90cba4007cceea13.zip
hwclock: include-what-you-use header check
One deletion, few adds and sort to include lists. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'hwclock/hwclock.c')
-rw-r--r--hwclock/hwclock.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 0c6b0f6cd..3211b8f8e 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -57,19 +57,19 @@
* f) put the command 'clock -au' or 'clock -a' in your '/etc/rc.local'
*/
-#include <string.h>
-#include <stdio.h>
-#include <fcntl.h>
#include <errno.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/stat.h>
-#include <stdarg.h>
#include <getopt.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sysexits.h>
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <time.h>
+#include <unistd.h>
+#include "c.h"
#include "clock.h"
#include "nls.h"