From patchwork Tue Oct 20 05:29:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 10117 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 0E95ABDB13 for ; Tue, 20 Oct 2020 05:29:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CEB15613B7; Tue, 20 Oct 2020 07:29:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Ous87qis"; dkim-atps=neutral Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4A32E60351 for ; Tue, 20 Oct 2020 07:29:25 +0200 (CEST) Received: by mail-pl1-x643.google.com with SMTP id 1so418009ple.2 for ; Mon, 19 Oct 2020 22:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rLJu1kSuY0/Xzy4HAc5K+DxVi4rKB5koCUImmo2buyc=; b=Ous87qis0O5ztRA0lyVc+6wm8v7hU8nr/GJBsbd+Sn8dmsZUNNqF5iGdLBaC37CVLD Jace/UF/vQY0v6tqibc41l12ppcO0UkZrUqeKM/Ii+pHabXdwVX0OozioCGjI0DJtG72 HJlj9yJihhqkdPseegeW/64naGQsjQg2uC33s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rLJu1kSuY0/Xzy4HAc5K+DxVi4rKB5koCUImmo2buyc=; b=oqMXalmG+7s3YDBBIuZUQRzTxLOhOZAM80V87+NWhsnQkV4CP1gRzInVSDMJr7ldkg MxCrxAT3Bw1i+m9ML4VeEAxpPHk7aFh/wLO6ZnTIc3ycAGO/ahA3ENHTdjL+05uG1jzz j7+Y0tsDNyTKmcU+dk3wwcdyj6Fygi1CT6VbDOwC2N+0Tn5aZqtEn5bN7cWDUIvU0Ntf T09g123lq6HJtoZ5MDbH1/AHhiA+wQaC5Os/R0I25nsv+xVVc01D9B4RZo8P+70V+pDI bslc8rR335x1hTRxgfwNasjwIbFrO+3xKBYFLCDeXWzbpr6T06t3K6zjFcWBbCpYlQcN dcVg== X-Gm-Message-State: AOAM530Jl8YruOMA22B2OjScptxIH1GOWTOfR2GMLobBYzJlowTwXbnO dbpLYkLBluShuaT439i/y7WZSbHayVjSJA== X-Google-Smtp-Source: ABdhPJyBXgxMqE5xGuE3Du90q0aordVtUtGcChPrVoaKkt2DybJK+HqcOoUgmItLihIYW7YhozxNww== X-Received: by 2002:a17:90a:9f90:: with SMTP id o16mr1363720pjp.180.1603171763742; Mon, 19 Oct 2020 22:29:23 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([2401:fa00:8f:2:de4a:3eff:fe7d:f78f]) by smtp.gmail.com with ESMTPSA id j4sm779043pfd.101.2020.10.19.22.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 22:29:23 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 14:29:02 +0900 Message-Id: <20201020052905.89267-6-hiroh@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog In-Reply-To: <20201020052905.89267-1-hiroh@chromium.org> References: <20201020052905.89267-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 5/8] include: libcamera: Omit extra semicolons X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" REGISTER_PIPELINE_HANDLER macro is used with the end semicolon everywhere. This removes the end semicolon within the macro. Signed-off-by: Hirokazu Honda --- include/libcamera/internal/pipeline_handler.h | 2 +- include/libcamera/span.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h index a4e1b52..818a36a 100644 --- a/include/libcamera/internal/pipeline_handler.h +++ b/include/libcamera/internal/pipeline_handler.h @@ -145,7 +145,7 @@ private: \ return new handler(manager); \ } \ }; \ -static handler##Factory global_##handler##Factory; +static handler##Factory global_##handler##Factory } /* namespace libcamera */ diff --git a/include/libcamera/span.h b/include/libcamera/span.h index a53a80b..c0e4399 100644 --- a/include/libcamera/span.h +++ b/include/libcamera/span.h @@ -407,6 +407,6 @@ private: size_type size_; }; -}; /* namespace libcamera */ +} /* namespace libcamera */ #endif /* __LIBCAMERA_SPAN_H__ */