mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
src/vz: use #pragma once in headers
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
adfe09bc05
commit
faceedaf71
@ -20,9 +20,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VZ_DRIVER_H
|
||||
# define LIBVIRT_VZ_DRIVER_H
|
||||
#pragma once
|
||||
|
||||
int vzRegister(void);
|
||||
|
||||
#endif /* LIBVIRT_VZ_DRIVER_H */
|
||||
|
@ -20,8 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VZ_SDK_H
|
||||
# define LIBVIRT_VZ_SDK_H
|
||||
#pragma once
|
||||
|
||||
#include <Parallels.h>
|
||||
|
||||
@ -94,5 +93,3 @@ PRL_HANDLE
|
||||
prlsdkSdkDomainLookupByName(vzDriverPtr driver, const char *name);
|
||||
int prlsdkCancelJob(virDomainObjPtr dom);
|
||||
int prlsdkResizeImage(virDomainObjPtr dom, virDomainDiskDefPtr disk, unsigned long long newsize);
|
||||
|
||||
#endif /* LIBVIRT_VZ_SDK_H */
|
||||
|
@ -20,8 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VZ_UTILS_H
|
||||
# define LIBVIRT_VZ_UTILS_H
|
||||
#pragma once
|
||||
|
||||
#include <Parallels.h>
|
||||
|
||||
@ -146,7 +145,7 @@ vzGetDefaultSCSIModel(vzDriverPtr driver,
|
||||
|
||||
int vzCheckUnsupportedGraphics(virDomainGraphicsDefPtr gr);
|
||||
|
||||
# define PARALLELS_BLOCK_STATS_FOREACH(OP) \
|
||||
define PARALLELS_BLOCK_STATS_FOREACH(OP) \
|
||||
OP(rd_req, VIR_DOMAIN_BLOCK_STATS_READ_REQ, "read_requests") \
|
||||
OP(rd_bytes, VIR_DOMAIN_BLOCK_STATS_READ_BYTES, "read_total") \
|
||||
OP(wr_req, VIR_DOMAIN_BLOCK_STATS_WRITE_REQ, "write_requests") \
|
||||
@ -158,5 +157,3 @@ void
|
||||
vzDomainObjEndJob(virDomainObjPtr dom);
|
||||
int
|
||||
vzDomainJobUpdateTime(vzDomainJobObjPtr job);
|
||||
|
||||
#endif /* LIBVIRT_VZ_UTILS_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user