Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
src/util/virsysinfo.h | 13 +++++--------
src/util/virsysinfopriv.h | 5 +----
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/src/util/virsysinfo.h b/src/util/virsysinfo.h
index c0015834bc..f30809294b 100644
--- a/src/util/virsysinfo.h
+++ b/src/util/virsysinfo.h
@@ -19,13 +19,12 @@
* <
http://www.gnu.org/licenses/>.
*/
-#ifndef LIBVIRT_VIRSYSINFO_H
-# define LIBVIRT_VIRSYSINFO_H
+#pragma once
-# include "internal.h"
-# include "virutil.h"
-# include "virbuffer.h"
-# include "virenum.h"
+#include "internal.h"
+#include "virutil.h"
+#include "virbuffer.h"
+#include "virenum.h"
typedef enum {
VIR_SYSINFO_SMBIOS,
@@ -152,5 +151,3 @@ bool virSysinfoIsEqual(virSysinfoDefPtr src,
virSysinfoDefPtr dst);
VIR_ENUM_DECL(virSysinfo);
-
-#endif /* LIBVIRT_VIRSYSINFO_H */
diff --git a/src/util/virsysinfopriv.h b/src/util/virsysinfopriv.h
index b7beb44807..cdcb021309 100644
--- a/src/util/virsysinfopriv.h
+++ b/src/util/virsysinfopriv.h
@@ -21,8 +21,7 @@
# error "virsysinfopriv.h may only be included by virsysinfo.c or test suites"
#endif /* LIBVIRT_VIRSYSINFOPRIV_H_ALLOW */
-#ifndef LIBVIRT_VIRSYSINFOPRIV_H
-# define LIBVIRT_VIRSYSINFOPRIV_H
+#pragma once
void
virSysinfoSetup(const char *dmidecode,
@@ -40,5 +39,3 @@ virSysinfoReadS390(void);
virSysinfoDefPtr
virSysinfoReadDMI(void);
-
-#endif /* LIBVIRT_VIRSYSINFOPRIV_H */
--
2.20.1