summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2024-04-17 10:51:12 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-04-17 17:11:54 +0100
commitdbd13a6f77553499607f02aabc18a7d2d3a35651 (patch)
tree21a5b1b72070fe28d85ae8b453f10a19a88f3dde
parentf4d416db9141e7a7802aac00a87500a524c11e37 (diff)
Documentation: coding-style: Clean up header guard style
Header guards were replaced by pragma once calls with commits 0a64cf8b7645 ("libcamera: Convert to pragma once") through to 796210ecea82 ("v4l2: Convert to pragma once") Update the coding style to reflect the updated header guard style. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--Documentation/coding-style.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst
index 053fdd99..72cb28d2 100644
--- a/Documentation/coding-style.rst
+++ b/Documentation/coding-style.rst
@@ -59,7 +59,7 @@ document:
underscores in between
* All formatting rules specified in the selected sections of the Linux kernel
Code Style for indentation, braces, spacing, etc
-* Header guards are formatted as '__LIBCAMERA_FILE_NAME_H__'
+* Headers are guarded by the use of '#pragma once'
Order of Includes
~~~~~~~~~~~~~~~~~