mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-25 03:34:00 +03:00
Use #pragma once in driver 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:
committed by
Ján Tomko
parent
e6635c626a
commit
e97f8228b9
@@ -18,12 +18,11 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_DRIVER_HYPERVISOR_H
|
||||
# define LIBVIRT_DRIVER_HYPERVISOR_H
|
||||
#pragma once
|
||||
|
||||
# ifndef __VIR_DRIVER_H_INCLUDES___
|
||||
# error "Don't include this file directly, only use driver.h"
|
||||
# endif
|
||||
#ifndef __VIR_DRIVER_H_INCLUDES___
|
||||
# error "Don't include this file directly, only use driver.h"
|
||||
#endif
|
||||
|
||||
typedef int
|
||||
(*virDrvConnectURIProbe)(char **uri);
|
||||
@@ -1581,6 +1580,3 @@ struct _virHypervisorDriver {
|
||||
virDrvNodeGetSEVInfo nodeGetSEVInfo;
|
||||
virDrvDomainGetLaunchSecurityInfo domainGetLaunchSecurityInfo;
|
||||
};
|
||||
|
||||
|
||||
#endif /* LIBVIRT_DRIVER_HYPERVISOR_H */
|
||||
|
||||
Reference in New Issue
Block a user