summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-06-05 16:40:28 -0400
committerPaul Elder <paul.elder@ideasonboard.com>2019-07-02 23:18:03 +0900
commit0c2f97a0aba1fc144a33a4769e0b96373bb26318 (patch)
tree8096dc2aa3c7fc6861d98c53fbe63a7aced47734
parent6481c71a618a7b6940cbe4269a33c24f33ddf6be (diff)
libcamera: ipa_module_info: remove cplusplus guards
IPA modules must be implemented in C++, which means we no longer need __cplusplus guards, so remove them. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--include/libcamera/ipa/ipa_module_info.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/libcamera/ipa/ipa_module_info.h b/include/libcamera/ipa/ipa_module_info.h
index 803b5d3f..585f753a 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__ */