diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-22 18:52:42 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-08-25 02:03:08 +0300 |
commit | f976eb5cb63f0c5e802dbd4faefa82eb927c2f47 (patch) | |
tree | 3651fa930a385e615258f9c61bd7562b107326e4 /src/gstreamer | |
parent | d6eab60597529c0260bb6d783134a99ba31f564f (diff) |
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>
Diffstat (limited to 'src/gstreamer')
-rw-r--r-- | src/gstreamer/gstlibcameraallocator.cpp | 2 | ||||
-rw-r--r-- | src/gstreamer/gstlibcamerapad.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gstreamer/gstlibcameraallocator.cpp b/src/gstreamer/gstlibcameraallocator.cpp index 1d5959c0..78ded402 100644 --- a/src/gstreamer/gstlibcameraallocator.cpp +++ b/src/gstreamer/gstlibcameraallocator.cpp @@ -70,7 +70,7 @@ FrameWrap::~FrameWrap() } } -GQuark FrameWrap::getQuark(void) +GQuark FrameWrap::getQuark() { static gsize frame_quark = 0; diff --git a/src/gstreamer/gstlibcamerapad.cpp b/src/gstreamer/gstlibcamerapad.cpp index e184495a..9f3e2be5 100644 --- a/src/gstreamer/gstlibcamerapad.cpp +++ b/src/gstreamer/gstlibcamerapad.cpp @@ -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[] = { |