From patchwork Wed Jun 5 22:18:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 1362 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A75FA63581 for ; Thu, 6 Jun 2019 00:18:28 +0200 (CEST) Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0305E2D1; Thu, 6 Jun 2019 00:18:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1559773108; bh=DivdmcAJO1wAnWb4pm5wgAFaMrvdU91kw1hjFJ2PgTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ACszzDkGIf/hN6ho76txNuNkBK7ZEsqDAIiUNwt0RQu/SzaKsMKLVSe3gWcFbujdM HlJNMi+akgzCVR/Pb8IBJ6YBNvTqiieF0OtuDQK5BcI2tYmmKKUkS6qkCFR0vgZCBy 4PsS9/G5V8JuG/Kcxkncu+JPNXQIfsPo0/35QToI= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Wed, 5 Jun 2019 18:18:08 -0400 Message-Id: <20190605221817.966-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190605221817.966-1-paul.elder@ideasonboard.com> References: <20190605221817.966-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH 01/10] libcamera: ipa_module_info: remove cplusplus guards X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 22:18:28 -0000 IPA modules must be implemented in C++, which means we no longer need __cplusplus guards, so remove them. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- include/libcamera/ipa/ipa_module_info.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/libcamera/ipa/ipa_module_info.h b/include/libcamera/ipa/ipa_module_info.h index 803b5d3..585f753 100644 --- a/include/libcamera/ipa/ipa_module_info.h +++ b/include/libcamera/ipa/ipa_module_info.h @@ -11,9 +11,7 @@ #define IPA_MODULE_API_VERSION 1 -#ifdef __cplusplus namespace libcamera { -#endif struct IPAModuleInfo { int moduleAPIVersion; @@ -22,16 +20,10 @@ struct IPAModuleInfo { char name[256]; } __attribute__((packed)); -#ifdef __cplusplus extern "C" { -#endif extern const struct IPAModuleInfo ipaModuleInfo; -#ifdef __cplusplus }; -#endif -#ifdef __cplusplus }; /* namespace libcamera */ -#endif #endif /* __LIBCAMERA_IPA_MODULE_INFO_H__ */