From 5dc5fb2ac57ec7123215c82d10992cfbcddf34e9 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 11 Feb 2020 11:09:59 +0000 Subject: libcamera: Standardize on doxygen \return Two occasions in the source utilise the Doxygen '\returns' alias for \return. We use \return everywhere else in the code. Update the two occurences to match. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/libcamera/geometry.cpp | 2 +- src/libcamera/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libcamera/geometry.cpp b/src/libcamera/geometry.cpp index 32b0faea..92c53f64 100644 --- a/src/libcamera/geometry.cpp +++ b/src/libcamera/geometry.cpp @@ -269,7 +269,7 @@ bool operator<(const Size &lhs, const Size &rhs) /** * \brief Test if a size is contained in the range * \param[in] size Size to check - * \returns True if \a size is contained in the range + * \return True if \a size is contained in the range */ bool SizeRange::contains(const Size &size) const { diff --git a/src/libcamera/utils.cpp b/src/libcamera/utils.cpp index 94bbb883..453e3b3b 100644 --- a/src/libcamera/utils.cpp +++ b/src/libcamera/utils.cpp @@ -55,7 +55,7 @@ const char *basename(const char *path) * avoid vulnerabilities that could occur if set-user-ID or set-group-ID * programs accidentally trust the environment. * - * \returns A pointer to the value in the environment or NULL if the requested + * \return A pointer to the value in the environment or NULL if the requested * environment variable doesn't exist or if secure execution is required. */ char *secure_getenv(const char *name) -- cgit v1.2.1