doc: replace @return by Return:
Sphinx expects Return: and not @return to indicate a return value.
find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
diff --git a/boot/image.c b/boot/image.c
index c7ab034..07fa2d3 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -550,7 +550,7 @@
* This will scan the translation table trying to find the entry that matches
* the given id.
*
- * @return long entry name if translation succeeds; error string on failure
+ * Return: long entry name if translation succeeds; error string on failure
*/
const char *genimg_get_cat_name(enum ih_category category, uint id)
{
@@ -570,7 +570,7 @@
* This will scan the translation table trying to find the entry that matches
* the given id.
*
- * @return short entry name if translation succeeds; error string on failure
+ * Return: short entry name if translation succeeds; error string on failure
*/
const char *genimg_get_cat_short_name(enum ih_category category, uint id)
{
@@ -600,7 +600,7 @@
* This will scan the translation table trying to find the entry that matches
* the given id.
*
- * @return true if category has entry id; false if not
+ * Return: true if category has entry id; false if not
*/
bool genimg_cat_has_id(enum ih_category category, uint id)
{