Remove the verbose #ifndef/#define/#endif pattern for maintaining header idempotency, and replace it with a simple #pragma once. This simplifies the headers, and prevents redundant changes when header files get moved. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
14 lines
270 B
C
14 lines
270 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Copyright (C) 2019, Google Inc.
|
|
*
|
|
* camera_ops.h - Android Camera HAL Operations
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <hardware/camera3.h>
|
|
|
|
int hal_dev_close(hw_device_t *hw_device);
|
|
extern camera3_device_ops hal_dev_ops;
|