From patchwork Wed Jan 23 22:46:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 156428 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1257849jaa; Wed, 23 Jan 2019 14:48:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN6NRaw5kQXa3viSfpnIaD4sWra3HM7b4dnJA69pPNBYOpBeXVPUQXDfbTuL9XKOKllWeyKb X-Received: by 2002:ad4:5307:: with SMTP id y7mr3813383qvr.9.1548283689318; Wed, 23 Jan 2019 14:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548283689; cv=none; d=google.com; s=arc-20160816; b=G1dI0AQaGXb39zt2vhr3x6T4yEq16BWqPAJY42Dak8w1vfZlrpxIxmsXwpCpojI0Xn PAckWj/JLEKDPU79a7mv53L0E/qLROmY4HiZr26/d8RheY8VeUZbFrM0DL62vsWAcVty jwe22Fd4hCLs2j5HiS/T1LrP7OlNFWghHIUDfj6hFHOhvrGMwsVGipsPu2PxNZw2SiiI 08PoAWO/fnv2z+akqUHIBlhS26/m0eFRmf+7XbK4Bko1y7uKtgo4SHiJRpvM6NS+j/Db JtsC6Nb9D/ffGyxgWNRGEIAHRyJsg6UfhlPRk4HtF+sRVWyaNwvq9aYU7Uhf2Fii2/PO zZQA== 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 :cc:mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=AbR+wcYrnDYVFaYpB4OYdMgiU1fp+Qso7crfGeyqr0A=; b=pg/wjWCU4ZImCYlqVyrZj3pLi+R3MBWlhsUfa0S/6DpwRzLhqqKFzM12vKPVoewDn0 ixAHkQE3qdnkZXm1eYpON5868N6kKrmmBiwELGjX8RFHs1lVgHmHCzhgvft6d1yutWl8 xr1MijgvHJQKM2VUTw72WiYR9G8tPtCEsedcOS+EdKXUEgw8JzlC7PGEu80/lPQRFs4R wgBMWVdY05Xc4gJyG+hleckTEh3MCVmztZhblGCyR6cY29vq5B/lZzrGgO3g0R+ehhgs tRd32K+3G0H6gBWzvwYseM2h7WPnmmdJbnaT3UsUB+Y9/TGVFo5czBZTjxfsigD5xdfX 4gjQ== 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 o44si714155qtc.134.2019.01.23.14.48.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Jan 2019 14:48:09 -0800 (PST) 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-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5AFCAC0C9A9E; Wed, 23 Jan 2019 22:48:07 +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 21471600C6; Wed, 23 Jan 2019 22:48:07 +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 CA868180339E; Wed, 23 Jan 2019 22:48:06 +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 x0NMltTj011152 for ; Wed, 23 Jan 2019 17:47:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id 93D1665F72; Wed, 23 Jan 2019 22:47:55 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-120-34.rdu2.redhat.com [10.10.120.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88571BA78; Wed, 23 Jan 2019 22:47:54 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 23 Jan 2019 17:46:14 -0500 Message-Id: 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 Cc: Andrea Bolognani Subject: [libvirt] [PATCH 7/9] Require a semicolon for VIR_LOG_INIT calls 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 23 Jan 2019 22:48:08 +0000 (UTC) Drop the semicolon from the final statement of the macro, so the compiler will require callers to add a semicolon. Signed-off-by: Cole Robinson --- src/util/virlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/src/util/virlog.h b/src/util/virlog.h index 8edd390378..775a726b06 100644 --- a/src/util/virlog.h +++ b/src/util/virlog.h @@ -79,7 +79,7 @@ struct _virLogSource { .priority = VIR_LOG_ERROR, \ .serial = 0, \ .flags = 0, \ - }; + } /* * If configured with --enable-debug=yes then library calls