util: file: 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-18 11:12:50 -05:00 committed by Ján Tomko
parent 1a5a5b3d3a
commit 7c6950a879

View File

@ -22,8 +22,7 @@
*
*/
#ifndef LIBVIRT_VIRFILE_H
# define LIBVIRT_VIRFILE_H
#pragma once
#include <dirent.h>
@ -392,5 +391,3 @@ int virFileSetXAttr(const char *path,
int virFileRemoveXAttr(const char *path,
const char *name)
ATTRIBUTE_NOINLINE;
#endif /* LIBVIRT_VIRFILE_H */