summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-22 03:13:06 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-06 00:25:04 +0300
commitf3f1807a1f88136e3159a1399dfd6ed9d30b0085 (patch)
tree467562ac0c7b06d591f7ed78dc9028baa63dc4d3
parent08a75925d86605d63f115e76ad7644ba194812a4 (diff)
libcamera: Replace C++ comments with C comments
The control_ids.h.in and property_ids.h.in headers use C++-style comments, when the coding style mandates C-style comments. Fix them. While at it, adjust three minor typos in comments. 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>
-rw-r--r--include/libcamera/control_ids.h.in4
-rw-r--r--include/libcamera/property_ids.h.in6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/libcamera/control_ids.h.in b/include/libcamera/control_ids.h.in
index 6ff0e418..95a7a7f1 100644
--- a/include/libcamera/control_ids.h.in
+++ b/include/libcamera/control_ids.h.in
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Google Inc.
*
- * control_ids.h : Control ID list
+ * control_ids.h - Control ID list
*
* This file is auto-generated. Do not edit.
*/
@@ -30,4 +30,4 @@ extern const ControlIdMap controls;
} /* namespace libcamera */
-#endif // __LIBCAMERA_CONTROL_IDS_H__
+#endif /* __LIBCAMERA_CONTROL_IDS_H__ */
diff --git a/include/libcamera/property_ids.h.in b/include/libcamera/property_ids.h.in
index 62799b3e..e4dea335 100644
--- a/include/libcamera/property_ids.h.in
+++ b/include/libcamera/property_ids.h.in
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Google Inc.
*
- * property_ids.h : Property ID list
+ * property_ids.h - Property ID list
*
* This file is auto-generated. Do not edit.
*/
@@ -26,8 +26,8 @@ ${controls}
extern const ControlIdMap properties;
-} /* namespace propertiess */
+} /* namespace properties */
} /* namespace libcamera */
-#endif // __LIBCAMERA_PROPERTY_IDS_H__
+#endif /* __LIBCAMERA_PROPERTY_IDS_H__ */