mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 00:19:44 +03:00
libcamera: Remove void specifier for functions that take no arguments
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
d6eab60597
commit
f976eb5cb6
4 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ private:
|
||||||
bool loaded_;
|
bool loaded_;
|
||||||
|
|
||||||
void *dlHandle_;
|
void *dlHandle_;
|
||||||
typedef struct ipa_context *(*IPAIntfFactory)(void);
|
typedef struct ipa_context *(*IPAIntfFactory)();
|
||||||
IPAIntfFactory ipaCreate_;
|
IPAIntfFactory ipaCreate_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ static CameraHalManager cameraManager;
|
||||||
* Android Camera HAL callbacks
|
* Android Camera HAL callbacks
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int hal_get_number_of_cameras(void)
|
static int hal_get_number_of_cameras()
|
||||||
{
|
{
|
||||||
return cameraManager.numCameras();
|
return cameraManager.numCameras();
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@ FrameWrap::~FrameWrap()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GQuark FrameWrap::getQuark(void)
|
GQuark FrameWrap::getQuark()
|
||||||
{
|
{
|
||||||
static gsize frame_quark = 0;
|
static gsize frame_quark = 0;
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ gst_libcamera_pad_init(GstLibcameraPad *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
static GType
|
static GType
|
||||||
gst_libcamera_stream_role_get_type(void)
|
gst_libcamera_stream_role_get_type()
|
||||||
{
|
{
|
||||||
static GType type = 0;
|
static GType type = 0;
|
||||||
static const GEnumValue values[] = {
|
static const GEnumValue values[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue