mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
util: 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
54416b6a59
commit
0b8b8da7d9
@ -18,8 +18,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSTORAGEENCRYPTION_H
|
||||
# define LIBVIRT_VIRSTORAGEENCRYPTION_H
|
||||
#pragma once
|
||||
|
||||
#include "internal.h"
|
||||
#include "virbuffer.h"
|
||||
@ -93,5 +92,3 @@ enum {
|
||||
};
|
||||
|
||||
int virStorageGenerateQcowPassphrase(unsigned char *dest);
|
||||
|
||||
#endif /* LIBVIRT_VIRSTORAGEENCRYPTION_H */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSTORAGEFILE_H
|
||||
# define LIBVIRT_VIRSTORAGEFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
@ -548,5 +547,3 @@ void virStorageFileReportBrokenChain(int errcode,
|
||||
virStorageSourcePtr parent);
|
||||
|
||||
VIR_DEFINE_AUTOPTR_FUNC(virStorageAuthDef, virStorageAuthDefFree);
|
||||
|
||||
#endif /* LIBVIRT_VIRSTORAGEFILE_H */
|
||||
|
@ -18,8 +18,7 @@
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBVIRT_VIRSTORAGEFILEBACKEND_H
|
||||
# define LIBVIRT_VIRSTORAGEFILEBACKEND_H
|
||||
#pragma once
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
@ -99,5 +98,3 @@ struct _virStorageFileBackend {
|
||||
};
|
||||
|
||||
int virStorageFileBackendRegister(virStorageFileBackendPtr backend);
|
||||
|
||||
#endif /* LIBVIRT_VIRSTORAGEFILEBACKEND_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user