diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 18:05:50 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 18:11:34 +0100 |
commit | 185f812c419f1b4f0d10d9787d59cf9f11a2a600 (patch) | |
tree | 2fea02768d6005934547f075586c60ba7aca6253 /include/autoboot.h | |
parent | 6a685753ce8b6b02b67d64b239143bf19eda63c9 (diff) | |
download | u-boot-185f812c419f1b4f0d10d9787d59cf9f11a2a600.zip u-boot-185f812c419f1b4f0d10d9787d59cf9f11a2a600.tar.gz u-boot-185f812c419f1b4f0d10d9787d59cf9f11a2a600.tar.bz2 |
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 'include/autoboot.h')
-rw-r--r-- | include/autoboot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/autoboot.h b/include/autoboot.h index d6915dd..eb20499 100644 --- a/include/autoboot.h +++ b/include/autoboot.h @@ -21,7 +21,7 @@ * This is only implemented for sandbox since other platforms don't have a way * of controlling the feature at runtime. * - * @return true if enabled, false if not + * Return: true if enabled, false if not */ bool autoboot_keyed(void); @@ -29,7 +29,7 @@ bool autoboot_keyed(void); * autoboot_set_keyed() - set whether keyed autoboot should be used * * @autoboot_keyed: true to enable the feature, false to disable - * @return old value of the flag + * Return: old value of the flag */ bool autoboot_set_keyed(bool autoboot_keyed); #else @@ -55,7 +55,7 @@ static inline bool autoboot_set_keyed(bool autoboot_keyed) * bootcmd, failbootcmd or altbootcmd depending on the current state. * Return this command so it can be executed. * - * @return command to executed + * Return: command to executed */ const char *bootdelay_process(void); |