summaryrefslogtreecommitdiffstats
path: root/src/boot/meson.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2025-01-16 13:46:18 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2025-01-16 20:09:12 +0100
commit83a3018e20d7e637e662fb98e05b41162aef54ac (patch)
tree625096eedf60c9ff50049dc12b12acdede40813d /src/boot/meson.build
parentfundamental: unify gcc warning pragmas at one place (diff)
downloadsystemd-83a3018e20d7e637e662fb98e05b41162aef54ac.tar.xz
systemd-83a3018e20d7e637e662fb98e05b41162aef54ac.zip
nss-systemd: work around -Werror=zero-as-null-pointer-constant issue with PTHREAD_MUTEX_INITIALIZER
This fixes builds on Fedora: ../src/nss-systemd/nss-systemd.c:105:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 105 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:105:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:109:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 109 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:109:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:113:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 113 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:113:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:117:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 117 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:117:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] cc1: all warnings being treated as errors
Diffstat (limited to 'src/boot/meson.build')
0 files changed, 0 insertions, 0 deletions