@@ -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 */
Signed-off-by: Cole Robinson <crobinso@redhat.com> --- src/util/vircgrouppriv.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) -- 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list