mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
I changed imports of util.h to initrd-util.h, or added an import of initrd-util.h, to keep compilation working. It turns out that many files didn't import util.h directly. When viewing the patch, don't be confused by git rename detection logic: a new .c file is added and two functions moved into it.
8 lines
141 B
C
8 lines
141 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool in_initrd(void);
|
|
void in_initrd_force(bool value);
|