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:
@@ -84,7 +84,7 @@ gst_libcamera_pad_init(GstLibcameraPad *self)
|
||||
}
|
||||
|
||||
static GType
|
||||
gst_libcamera_stream_role_get_type(void)
|
||||
gst_libcamera_stream_role_get_type()
|
||||
{
|
||||
static GType type = 0;
|
||||
static const GEnumValue values[] = {
|
||||
|
||||
Reference in New Issue
Block a user