diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-04-08 16:31:36 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-04-13 16:21:14 +1000 |
commit | 03eba1d68dbf7ffc9690d73f957c33b8f492e627 (patch) | |
tree | 424172002237e25891cb2cad14d01f7d071eed46 /discover/discover-server.c | |
parent | 8569abdf356aa617ebdcb426aa708a0fd8129a1a (diff) | |
download | talos-petitboot-03eba1d68dbf7ffc9690d73f957c33b8f492e627.tar.gz talos-petitboot-03eba1d68dbf7ffc9690d73f957c33b8f492e627.zip |
discover/udev: Don't call udev_set_log_fn()
As of libudev 218 udev_set_log_fn() is deprecated, causing a
-Wdeprecated-declarations warning when building, and is otherwise a
noop.
Add a configure check for libudev, and only call udev_set_log_fn() if
using a version older than 218.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/discover-server.c')
0 files changed, 0 insertions, 0 deletions