<html>Tested-by: Ashok Sidipotu <ashok.sidipotu@collabora.com><br />On Monday, May 15, 2023 18:15 IST, Kieran Bingham <kieran.bingham@ideasonboard.com> wrote:<br /> <blockquote type="cite" cite="20230515124550.3601128-2-kieran.bingham@ideasonboard.com">Remove the verbose #ifndef/#define/#endif pattern for maintaining<br />header idempotency, and replace it with a simple #pragma once.<br /><br />This simplifies the headers, and prevents redundant changes when<br />header files get moved.<br /><br />The internal/request.h was missed at the time of the original<br />conversion. Update it.<br /><br />Fixes: df131ad08893 ("libcamera: internal: Convert to pragma once")<br />Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com><br />---<br />include/libcamera/internal/request.h | 6 ++----<br />1 file changed, 2 insertions(+), 4 deletions(-)<br /><br />diff --git a/include/libcamera/internal/request.h b/include/libcamera/internal/request.h<br />index 8c92a27a95e5..3454cf5a72f5 100644<br />--- a/include/libcamera/internal/request.h<br />+++ b/include/libcamera/internal/request.h<br />@@ -4,8 +4,8 @@<br />*<br />* request.h - Request class private data<br />*/<br />-#ifndef __LIBCAMERA_INTERNAL_REQUEST_H__<br />-#define __LIBCAMERA_INTERNAL_REQUEST_H__<br />+<br />+#pragma once<br /><br />#include <chrono><br />#include <map><br />@@ -62,5 +62,3 @@ private:<br />};<br /><br />} /* namespace libcamera */<br />-<br />-#endif /* __LIBCAMERA_INTERNAL_REQUEST_H__ */<br />--<br />2.34.1<br /> </blockquote><br /><br /> </html>