[PATCH 17/19] src/libvirt_internal.h: use #pragma once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
---
 src/libvirt_internal.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/libvirt_internal.h b/src/libvirt_internal.h
index 8be1257814..3f012fdd4b 100644
--- a/src/libvirt_internal.h
+++ b/src/libvirt_internal.h
@@ -22,10 +22,9 @@
  * include/libvirt/libvirt.h apply. ie this file is *append* only
  */
 
-#ifndef LIBVIRT_LIBVIRT_INTERNAL_H
-# define LIBVIRT_LIBVIRT_INTERNAL_H
+#pragma once
 
-# include "internal.h"
+#include "internal.h"
 
 typedef void (*virStateInhibitCallback)(bool inhibit,
                                         void *opaque);
@@ -297,5 +296,3 @@ virTypedParameterValidateSet(virConnectPtr conn,
 int virStreamInData(virStreamPtr stream,
                     int *data,
                     long long *length);
-
-#endif /* LIBVIRT_LIBVIRT_INTERNAL_H */
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux