journal,homectl: unify implementations of libqrencode loading and fss key printing
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 25 Oct 2020 11:11:21 +0000 (12:11 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Oct 2020 17:33:29 +0000 (18:33 +0100)
commitf1b823596f8a4dc6b1f76206b7473bac71e3840b
tree7d44f1758de5ce755bc79eedd32a3fd6bd70097c
parentc9e9a57fce214b24d250921654b101ff433962e7
journal,homectl: unify implementations of libqrencode loading and fss key printing

We had two of each: both homectl and journalctl had the whole dlopen()
wrapper, and journalctl had two implementations (slightly different) of the
code to print the fss:// pattern.

print_qrcode() now returns -EOPNOTSUPP when compiled with qrcode support. Both
callers ignore the return value, so this changes nothing.

No functional change.
src/home/homectl-recovery-key.c
src/journal/journal-qrcode.c [deleted file]
src/journal/journal-qrcode.h [deleted file]
src/journal/journalctl.c
src/journal/meson.build
src/shared/meson.build
src/shared/qrcode-util.c
src/shared/qrcode-util.h