projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ea44b
)
reboot-util: drop redundant headers
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 3 Nov 2022 00:16:43 +0000
(09:16 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 4 Nov 2022 02:32:34 +0000
(11:32 +0900)
Follow-up for
ede5a78f50ed2d5f86dc7a117de2a51b397d52d4
.
src/shared/reboot-util.c
patch
|
blob
|
history
diff --git
a/src/shared/reboot-util.c
b/src/shared/reboot-util.c
index e761bc25a4a83d6373c93b857ab1e05cd7a6d9ac..10d49ba63a0869a2a550c18702c299919eb97c5b 100644
(file)
--- a/
src/shared/reboot-util.c
+++ b/
src/shared/reboot-util.c
@@
-1,11
+1,7
@@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <errno.h>
-#include <error.h>
-#include <fcntl.h>
#include <stdint.h>
-#include <stdio.h>
-#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
@@
-22,7
+18,6
@@
#include "fd-util.h"
#include "fileio.h"
#include "log.h"
-#include "memory-util.h"
#include "proc-cmdline.h"
#include "raw-reboot.h"
#include "reboot-util.h"