core: remove libsystemd dependency (#5660)
* remove libsystemd dependency as per Lennart Poettering's advice: https://github.com/systemd/systemd/issues/32028#issuecomment-2031366922 * fix naming for systemd helper functions * rename vars according to code style * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
ea47e8c92a
commit
a945346064
7 changed files with 76 additions and 31 deletions
6
src/helpers/SdDaemon.hpp
Normal file
6
src/helpers/SdDaemon.hpp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
namespace Systemd {
|
||||
int SdBooted(void);
|
||||
int SdNotify(int unset_environment, const char* state);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue