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:
Jonathon Jongsma 2019-06-07 15:20:20 -05:00 committed by Ján Tomko
parent 787be820f3
commit 5ef190a4d2
5 changed files with 31 additions and 47 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */