libcamera: Rename wrong header guards for internal includes

Some internals includes that used to be public still have the public
header guard. Rename it.

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>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2021-01-22 16:57:31 +02:00
parent 9e6eece622
commit 992442df9a
3 changed files with 9 additions and 9 deletions
@@ -4,8 +4,8 @@
*
* event_dispatcher.h - Event dispatcher
*/
#ifndef __LIBCAMERA_EVENT_DISPATCHER_H__
#define __LIBCAMERA_EVENT_DISPATCHER_H__
#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__
#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__
#include <vector>
@@ -32,4 +32,4 @@ public:
} /* namespace libcamera */
#endif /* __LIBCAMERA_EVENT_DISPATCHER_H__ */
#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__ */
+3 -3
View File
@@ -4,8 +4,8 @@
*
* event_notifier.h - File descriptor event notifier
*/
#ifndef __LIBCAMERA_EVENT_NOTIFIER_H__
#define __LIBCAMERA_EVENT_NOTIFIER_H__
#ifndef __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__
#define __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__
#include <libcamera/object.h>
#include <libcamera/signal.h>
@@ -45,4 +45,4 @@ private:
} /* namespace libcamera */
#endif /* __LIBCAMERA_EVENT_NOTIFIER_H__ */
#endif /* __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__ */
+3 -3
View File
@@ -4,8 +4,8 @@
*
* timer.h - Generic timer
*/
#ifndef __LIBCAMERA_TIMER_H__
#define __LIBCAMERA_TIMER_H__
#ifndef __LIBCAMERA_INTERNAL_TIMER_H__
#define __LIBCAMERA_INTERNAL_TIMER_H__
#include <chrono>
#include <stdint.h>
@@ -46,4 +46,4 @@ private:
} /* namespace libcamera */
#endif /* __LIBCAMERA_TIMER_H__ */
#endif /* __LIBCAMERA_INTERNAL_TIMER_H__ */