mbox series

[0/6] Some '#pragma once' conversions

Message ID cover.1554328223.git.crobinso@redhat.com
Headers show
Series Some '#pragma once' conversions | expand

Message

Cole Robinson April 3, 2019, 9:52 p.m. UTC
danpb added a BiteSizedTask for '#pragma once' conversions

https://wiki.libvirt.org/page/BiteSizedTasks#Switch_headers_to_use_.23pragma_once

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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list