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>
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user