hibernate-resume: Clean up includes

Split out of #37344.
This commit is contained in:
Daan De Meyer
2025-05-14 23:31:07 +02:00
parent 2bb89066da
commit 8b4a4e996c
4 changed files with 2 additions and 8 deletions

View File

@@ -7,6 +7,7 @@
#include "efivars.h"
#include "fstab-util.h"
#include "hibernate-resume-config.h"
#include "log.h"
#include "os-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@@ -1,12 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <stdbool.h>
#include "sd-id128.h"
#include "macro.h"
#include "memory-util.h"
#include "forward.h"
typedef struct KernelHibernateLocation KernelHibernateLocation;

View File

@@ -9,8 +9,6 @@
#include "hibernate-resume-config.h"
#include "initrd-util.h"
#include "log.h"
#include "main-func.h"
#include "parse-util.h"
#include "proc-cmdline.h"
#include "special.h"
#include "static-destruct.h"

View File

@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <errno.h>
#include <getopt.h>
#include <sys/stat.h>
@@ -15,7 +14,6 @@
#include "parse-util.h"
#include "pretty-print.h"
#include "static-destruct.h"
#include "terminal-util.h"
static HibernateInfo arg_info = {};
static bool arg_clear = false;