[PATCH 6/6] vircgrouppriv.h: Use #pragma once

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

 



Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 src/util/vircgrouppriv.h | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/util/vircgrouppriv.h b/src/util/vircgrouppriv.h
index a6fb3bb9f8..9110c77297 100644
--- a/src/util/vircgrouppriv.h
+++ b/src/util/vircgrouppriv.h
@@ -23,11 +23,10 @@
 # error "vircgrouppriv.h may only be included by vircgroup.c or its test suite"
 #endif /* LIBVIRT_VIRCGROUPPRIV_H_ALLOW */
 
-#ifndef LIBVIRT_VIRCGROUPPRIV_H
-# define LIBVIRT_VIRCGROUPPRIV_H
+#pragma once
 
-# include "vircgroup.h"
-# include "vircgroupbackend.h"
+#include "vircgroup.h"
+#include "vircgroupbackend.h"
 
 struct _virCgroupV1Controller {
     int type;
@@ -127,5 +126,3 @@ int virCgroupKillRecursiveInternal(virCgroupPtr group,
                                    int controller,
                                    const char *taskFile,
                                    bool dormdir);
-
-#endif /* LIBVIRT_VIRCGROUPPRIV_H */
-- 
2.21.0

--
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