[libvirt] [PATCH 00/46] Finish moving header guards to #pragma once

Ján Tomko jtomko at redhat.com
Wed Jun 19 15:17:06 UTC 2019


The subject prefixes show up with various numbers of spaces for me.
I do not know why the list started doing that, but not including the
[libvirt] prefix in the patches I send and letting the list add it fixed
it for me.

On Tue, Jun 18, 2019 at 11:12:30AM -0500, Jonathon Jongsma wrote:
>My previous series ported a bunch of internal headers to use #pragma once as the header guard (per
>https://wiki.libvirt.org/page/BiteSizedTasks#Switch_headers_to_use_.23pragma_once). This series
>ports the rest of the internal headers. The public headers are unchanged, and the syntax check
>script now enforces using '#ifndef/#define/#endif' for public headers and '#pragma once' for
>internal headers.
>
>Jonathon Jongsma (46):
>  src/locking: use #pragma once in headers
>  src/lxc: use #pragma once in headers
>  src/network: use #pragma once in headers
>  src/nwfilter: use #pragma once in headers
>  src/openvz: use #pragma once in headers
>  src/phyp: use #pragma once in headers
>  src/qemu: use #pragma once in headers
>  src/remote: use #pragma once in headers
>  src/rpc: use #pragma once in headers
>  src/secret: use #pragma once in headers
>  src/security: use #pragma once in headers
>  src/storage: use #pragma once in headers
>  src/test: use #pragma once in headers
>  util: thread: use #pragma once in headers
>  util: alloc: use #pragma once
>  util: atomic: use #pragma once
>  util: storage: use #pragma once in headers
>  util: netdev: use #pragma once in headers
>  util: arch.h: use #pragma once in headers
>  util: file: use #pragma once in headers
>  util: firewall: use #pragma once in headers
>  util: host: use #pragma once in headers
>  util: log: use #pragma once in headers
>  util: cgroup: use #pragma once in headers
>  util: error: use #pragma once in headers
>  util: virprobe.h: use #pragma once in headers
>  util: dbus: use #pragma once in headers
>  util: command: use #pragma once in headers
>  util: hash: use #pragma once in headers
>  util: mac: use #pragma once in headers
>  util: object: use #pragma once in headers
>  util: string: use #pragma once in headers
>  util: socketaddr: use #pragma once in headers
>  util: sysinfo: use #pragma once in headers
>  util: netlink: use #pragma once in headers
>  util: xml: use #pragma once in headers
>  util: scsi: use #pragma once in headers
>  util: misc: use #pragma once in headers
>  src/vbox: use #pragma once in headers
>  src/vmware: use #pragma once in headers
>  src/vmx: use #pragma once in headers
>  src/vz: use #pragma once in headers
>  xen: use #pragma once in headers
>  tests: use #pragma once in headers
>  tools: use #pragma once in headers

I have pushed the above patches.

>  syntax check: update header guard check
>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190619/129cbed6/attachment-0001.sig>


More information about the libvir-list mailing list