]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "musl: utmpx: add several missing definitions" 39775/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Nov 2025 18:06:02 +0000 (03:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Nov 2025 18:06:02 +0000 (03:06 +0900)
This reverts commit 3ae7d8fd8731c3412df878e8d1e8af9a8e644576.

Now utmp support is always disabled when building with musl,
and all definitions are unused in that case. Let's remove it.

src/include/musl/utmpx.h [deleted file]

diff --git a/src/include/musl/utmpx.h b/src/include/musl/utmpx.h
deleted file mode 100644 (file)
index d95fc8f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: LGPL-2.1-or-later */
-#pragma once
-
-#include_next <utmpx.h>
-
-#ifndef UTMPX_FILE
-#define UTMPX_FILE "/run/utmp"
-#endif
-
-#ifndef WTMPX_FILE
-#define WTMPX_FILE "/var/log/wtmp"
-#endif
-
-#ifndef ACCOUNTING
-#define ACCOUNTING 9
-#endif