From f976eb5cb63f0c5e802dbd4faefa82eb927c2f47 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 22 Aug 2020 18:52:42 +0300 Subject: libcamera: Remove void specifier for functions that take no arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In C++, unlike in C, a function that takes no argument doesn't need to specify void in the arguments list. Drop the unnecessary specifiers. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Niklas Söderlund --- include/libcamera/internal/ipa_module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libcamera/internal/ipa_module.h b/include/libcamera/internal/ipa_module.h index 6355671f..c2df2476 100644 --- a/include/libcamera/internal/ipa_module.h +++ b/include/libcamera/internal/ipa_module.h @@ -52,7 +52,7 @@ private: bool loaded_; void *dlHandle_; - typedef struct ipa_context *(*IPAIntfFactory)(void); + typedef struct ipa_context *(*IPAIntfFactory)(); IPAIntfFactory ipaCreate_; }; -- cgit v1.2.1