diff options
author | Heinrich Schuchardt | 2022-01-19 18:05:50 +0100 |
---|---|---|
committer | Heinrich Schuchardt | 2022-01-19 18:11:34 +0100 |
commit | 185f812c419f1b4f0d10d9787d59cf9f11a2a600 (patch) | |
tree | 2fea02768d6005934547f075586c60ba7aca6253 /test/log | |
parent | 6a685753ce8b6b02b67d64b239143bf19eda63c9 (diff) |
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 'test/log')
-rw-r--r-- | test/log/syslog_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/log/syslog_test.h b/test/log/syslog_test.h index bfaa6daef81..39cce4ed498 100644 --- a/test/log/syslog_test.h +++ b/test/log/syslog_test.h @@ -49,7 +49,7 @@ int sb_log_tx_handler(struct udevice *dev, void *packet, unsigned int len); * syslog_test_setup() - Enable syslog logging ready for tests * * @uts: Test state - * @return 0 if OK, -ENOENT if the syslog log driver is not found + * Return: 0 if OK, -ENOENT if the syslog log driver is not found */ int syslog_test_setup(struct unit_test_state *uts); @@ -57,7 +57,7 @@ int syslog_test_setup(struct unit_test_state *uts); * syslog_test_finish() - Disable syslog logging after tests * * @uts: Test state - * @return 0 if OK, -ENOENT if the syslog log driver is not found + * Return: 0 if OK, -ENOENT if the syslog log driver is not found */ int syslog_test_finish(struct unit_test_state *uts); |