mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: storage: 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
787be820f3
commit
5ef190a4d2
@ -17,8 +17,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_STORAGE_ADAPTER_CONF_H
|
||||
# define LIBVIRT_STORAGE_ADAPTER_CONF_H
|
||||
#pragma once
|
||||
|
||||
#include "virpci.h"
|
||||
#include "virxml.h"
|
||||
@ -81,5 +80,3 @@ virStorageAdapterValidate(virStorageAdapterPtr adapter);
|
||||
void
|
||||
virStorageAdapterFormat(virBufferPtr buf,
|
||||
virStorageAdapterPtr adapter);
|
||||
|
||||
#endif /* LIBVIRT_STORAGE_ADAPTER_CONF_H */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_STORAGE_CAPABILITIES_H
|
||||
# define LIBVIRT_STORAGE_CAPABILITIES_H
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
@ -36,6 +35,3 @@ virStoragePoolCapsNew(virCapsPtr driverCaps);
|
||||
|
||||
char *
|
||||
virStoragePoolCapsFormat(virStoragePoolCapsPtr const caps);
|
||||
|
||||
|
||||
#endif /* LIBVIRT_STORAGE_CAPABILITIES_H */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_STORAGE_CONF_H
|
||||
# define LIBVIRT_STORAGE_CONF_H
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
#include "virstorageencryption.h"
|
||||
@ -496,5 +495,3 @@ VIR_ENUM_DECL(virStoragePartedFs);
|
||||
VIR_DEFINE_AUTOPTR_FUNC(virStoragePoolSource, virStoragePoolSourceFree);
|
||||
VIR_DEFINE_AUTOPTR_FUNC(virStoragePoolDef, virStoragePoolDefFree);
|
||||
VIR_DEFINE_AUTOPTR_FUNC(virStorageVolDef, virStorageVolDefFree);
|
||||
|
||||
#endif /* LIBVIRT_STORAGE_CONF_H */
|
||||
|
@ -20,8 +20,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_STORAGE_EVENT_H
|
||||
# define LIBVIRT_STORAGE_EVENT_H
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
#include "object_event.h"
|
||||
@ -60,5 +59,3 @@ virStoragePoolEventLifecycleNew(const char *name,
|
||||
virObjectEventPtr
|
||||
virStoragePoolEventRefreshNew(const char *name,
|
||||
const unsigned char *uuid);
|
||||
|
||||
#endif /* LIBVIRT_STORAGE_EVENT_H */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSTORAGEOBJ_H
|
||||
# define LIBVIRT_VIRSTORAGEOBJ_H
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
@ -256,5 +255,3 @@ virStoragePoolObjListExport(virConnectPtr conn,
|
||||
virStoragePoolPtr **pools,
|
||||
virStoragePoolObjListFilter filter,
|
||||
unsigned int flags);
|
||||
|
||||
#endif /* LIBVIRT_VIRSTORAGEOBJ_H */
|
||||
|
Loading…
Reference in New Issue
Block a user