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:
Laurent Pinchart 2020-08-22 18:52:42 +03:00
parent d6eab60597
commit f976eb5cb6
4 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ static CameraHalManager cameraManager;
* Android Camera HAL callbacks
*/
static int hal_get_number_of_cameras(void)
static int hal_get_number_of_cameras()
{
return cameraManager.numCameras();
}