]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sha256: use memory-util-fundamental.h 34730/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 12 Oct 2024 20:56:25 +0000 (05:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 12 Oct 2024 20:57:29 +0000 (05:57 +0900)
Prompted by https://github.com/systemd/systemd/pull/34722#discussion_r1797352922.

src/fundamental/sha256-fundamental.c

index f8524bae692d20142d8a3ea2c62ca04a79ce820f..03381835d6c9cf5de9976acafcf84aa5f392e512 100644 (file)
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <stdbool.h>
-#if SD_BOOT
-#  include "efi-string.h"
-#else
-#  include <string.h>
-#endif
-
 #include "macro-fundamental.h"
+#include "memory-util-fundamental.h"
 #include "sha256-fundamental.h"
 #include "unaligned-fundamental.h"