From patchwork Wed Apr 3 21:52:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 161712 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp833200jan; Wed, 3 Apr 2019 14:53:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxY2Ao1kP3KJRPVdQwDBlO4+F5Gi6bulaIgPVphduwtVilaiyy04KpAW3T5M9CIY5Q/XSuw X-Received: by 2002:a0c:86cd:: with SMTP id 13mr1783460qvg.146.1554328396914; Wed, 03 Apr 2019 14:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554328396; cv=none; d=google.com; s=arc-20160816; b=ed32PwWmwwd+/kczi2TVI7QMTmM4ojh/HI0VomLNRVJD9I5/DOeRbVoU5q76slWMK/ qvooI8uWKOQgkTQ+7oMbkto5Gjaplzj5owErR6lCCQvfyAXmsJ5mcBsq85kZVs6TgSOR GS58/laC0tsJhareSqpbiqFGUH+v6L2RdbVrAWr7zijYLUfMqDszl5mZLyyNh/o1MApQ tpDwFJYlU0hv3sNXm6yebTkw9KjJ6KuWlbUnyvt4r5/pvxwBqoJyb/kMiFVg6n8w5KVK uvL5NzKjqogsSabVuWGLKFUFddh0J6MbJyHsRfKPd9BM9K9kYA3f/gUDS0quOA7kYxmF BPdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=oUSz9axGQwOQF2lsASUMBpaz700BFU/BXnpKueCv7iw=; b=T41UelB6h8AEzy6IIuyD9z/TGntr7Db/HbzaDC2ko267esx2B1H8539XKYiBgnQR+t yCDStepXauGe33KBLbD+cpxrdmZ/5dBxiZYYiU7zHwmjm5WtwdQPYZar33xumkVNbQNk kweH49omISw7nkNHQ8GId53LTZQT5HpU9+wgOilkyMUiQn2SYypzwM5jDISGbU0vnD5Z G4yohztQyJBikxtN0kqZgFzmLh8jHZ5HsCm6lA8EEwR2aCa38eUayngJNk8MSQsi6zxV 9CcDGBjSwfq3uuHj/HpeIGhhFMegSUoNOiU4RbqbDRsxEnonKiSyINdu5EiKgQAkZTf+ 2jzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id b54si5589220qte.184.2019.04.03.14.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 14:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A82B23007C43; Wed, 3 Apr 2019 21:53:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 832D4BA9B; Wed, 3 Apr 2019 21:53:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 46294181AC46; Wed, 3 Apr 2019 21:53:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x33Lr14B013249 for ; Wed, 3 Apr 2019 17:53:01 -0400 Received: by smtp.corp.redhat.com (Postfix) id D58ADBA9B; Wed, 3 Apr 2019 21:53:01 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-120-38.rdu2.redhat.com [10.10.120.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5ED1561082; Wed, 3 Apr 2019 21:52:59 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 3 Apr 2019 17:52:48 -0400 Message-Id: <0ac0824c77505640d4c4f07972b1ede348c74387.1554328223.git.crobinso@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 6/6] vircgrouppriv.h: Use #pragma once X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 03 Apr 2019 21:53:16 +0000 (UTC) Signed-off-by: Cole Robinson --- 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 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 */