]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
libshared: fix compilation without libblkid
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Apr 2017 23:05:05 +0000 (19:05 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Apr 2017 16:05:55 +0000 (12:05 -0400)
commitd1c536f5028bd924ba3c9b0ad10ba5b681b11ab6
treedfc88a701035f1e39b0c8806a5ca899710610b56
parent4ca0d5ca4ac840b3946641edc20e033344e68e86
libshared: fix compilation without libblkid

This reverts a75e27eba75e27eb fixed the case of libcryptsetup=no, libblkid=yes,
but broke the case of libcryptsetup=no, libblkid=yes. Instead of trying to define
the function only when used, which would result in too much ifdeffery, just silence
the warning.
src/shared/dissect-image.c