danpb added a BiteSizedTask for '#pragma once' conversions
https://wiki.libvirt.org/page/BiteSizedTasks#Switch_headers_to_use_.23pra...
We don't currently have any usage in the code. Turns out we need
some syntax check tweaks to make things happy. This series fixes those,
and adds a few conversion examples.
Tested on Fedora30 and freebsd12.0 with nodedev hal driver build
Cole Robinson (6):
build-aux: header-ifdef: Fix typos
build-aux: header-ifdef: Handle #pragma once
node_device_driver.h: Use #pragma once
node_device_udev.h: Use #pragma once
node_device_hal.h: Use #pragma once
vircgrouppriv.h: Use #pragma once
build-aux/header-ifdef.pl | 11 ++++++++---
src/node_device/node_device_driver.h | 21 +++++++++------------
src/node_device/node_device_hal.h | 5 +----
src/node_device/node_device_udev.h | 13 +++++--------
src/util/vircgrouppriv.h | 9 +++------
5 files changed, 26 insertions(+), 33 deletions(-)
--
2.21.0