From nobody Mon Feb 9 19:25:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1560874463; cv=none; d=zoho.com; s=zohoarc; b=KGWScL6URUtTc0/rys0jeOsWqxzA8autPEEh2eomjnAGwrJSjK50DEqOtZ+n3tgNSd71Q+ehVIwYRbs3HgB0UIq3yDiHPEz4GEwYgp10ZcX+KPQRvW4BcSYAs7U6hN/Rrs710ZteIoiRNB+I9pAxGgW5H52rnvzozW/mwtcwuN4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560874463; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=nGvO3doMJIq9VnH1MIBFgy3vlRJOiiuAMjmi3RNfr98=; b=G1tsrwHnDOEPdllxmO6Rfcf1QgvHq3p0gBG+WqPNJFerANyT4zLgA3CNOW2r/8zgq+cUBEhib6Q9J9wV8rRmixDFJo1iOrcMsQCRFRn6aWHjcZdvW+e9WDGabZvqJa3tjoqTXo6/mkblzu6dHEVEVo2qlo6p5VGacF0NUGbUMfM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560874463416195.28925391150813; Tue, 18 Jun 2019 09:14:23 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8AC0F30C1AE6; Tue, 18 Jun 2019 16:13:52 +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 1340657AF; Tue, 18 Jun 2019 16:13:39 +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 15B8E1806B19; Tue, 18 Jun 2019 16:13:28 +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 x5IGDPFO024126 for ; Tue, 18 Jun 2019 12:13:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 176B784EF; Tue, 18 Jun 2019 16:13:25 +0000 (UTC) Received: from aegolius.redhat.com (ovpn-117-198.phx2.redhat.com [10.3.117.198]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9FDB60FAB for ; Tue, 18 Jun 2019 16:13:24 +0000 (UTC) From: Jonathon Jongsma To: libvir-list@redhat.com Date: Tue, 18 Jun 2019 11:12:33 -0500 Message-Id: <20190618161316.1722-4-jjongsma@redhat.com> In-Reply-To: <20190618161316.1722-1-jjongsma@redhat.com> References: <20190618161316.1722-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 03/46] src/network: use #pragma once in headers 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Tue, 18 Jun 2019 16:14:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Jonathon Jongsma Reviewed-by: J=C3=A1n Tomko --- src/network/bridge_driver.h | 15 ++++++--------- src/network/bridge_driver_platform.h | 15 ++++++--------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/src/network/bridge_driver.h b/src/network/bridge_driver.h index 44c79f555e..7357c1754c 100644 --- a/src/network/bridge_driver.h +++ b/src/network/bridge_driver.h @@ -19,14 +19,13 @@ * . */ =20 -#ifndef LIBVIRT_BRIDGE_DRIVER_H -# define LIBVIRT_BRIDGE_DRIVER_H +#pragma once =20 -# include "internal.h" -# include "domain_conf.h" -# include "vircommand.h" -# include "virdnsmasq.h" -# include "virnetworkobj.h" +#include "internal.h" +#include "domain_conf.h" +#include "vircommand.h" +#include "virdnsmasq.h" +#include "virnetworkobj.h" =20 int networkRegister(void); @@ -37,5 +36,3 @@ networkDnsmasqConfContents(virNetworkObjPtr obj, char **configstr, dnsmasqContext *dctx, dnsmasqCapsPtr caps); - -#endif /* LIBVIRT_BRIDGE_DRIVER_H */ diff --git a/src/network/bridge_driver_platform.h b/src/network/bridge_driv= er_platform.h index 5f534fc132..1efa0d2af4 100644 --- a/src/network/bridge_driver_platform.h +++ b/src/network/bridge_driver_platform.h @@ -19,14 +19,13 @@ * . */ =20 -#ifndef LIBVIRT_BRIDGE_DRIVER_PLATFORM_H -# define LIBVIRT_BRIDGE_DRIVER_PLATFORM_H +#pragma once =20 -# include "internal.h" -# include "virthread.h" -# include "virdnsmasq.h" -# include "virnetworkobj.h" -# include "object_event.h" +#include "internal.h" +#include "virthread.h" +#include "virdnsmasq.h" +#include "virnetworkobj.h" +#include "object_event.h" =20 /* Main driver state */ struct _virNetworkDriverState { @@ -66,5 +65,3 @@ int networkCheckRouteCollision(virNetworkDefPtr def); int networkAddFirewallRules(virNetworkDefPtr def); =20 void networkRemoveFirewallRules(virNetworkDefPtr def); - -#endif /* LIBVIRT_BRIDGE_DRIVER_PLATFORM_H */ --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list