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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux