diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 20:05:50 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 20:11:34 +0300 |
commit | 185f812c419f1b4f0d10d9787d59cf9f11a2a600 (patch) | |
tree | 2fea02768d6005934547f075586c60ba7aca6253 /boot/image.c | |
parent | 6a685753ce8b6b02b67d64b239143bf19eda63c9 (diff) | |
download | u-boot-185f812c419f1b4f0d10d9787d59cf9f11a2a600.tar.xz |
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>
Diffstat (limited to 'boot/image.c')
-rw-r--r-- | boot/image.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/image.c b/boot/image.c index c7ab034e08..07fa2d3160 100644 --- a/boot/image.c +++ b/boot/image.c @@ -550,7 +550,7 @@ static const char *unknown_msg(enum ih_category category) * 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 @@ const char *genimg_get_cat_name(enum ih_category category, uint id) * 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 @@ const char *genimg_get_cat_desc(enum ih_category category) * 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) { |