mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
@@ -271,7 +271,7 @@ char *smbios_string(const struct smbios_header *header, int index);
|
||||
* main loop has started) to update the BIOS version string (SMBIOS table 0).
|
||||
*
|
||||
* @version: New version string to use
|
||||
* @return 0 if OK, -ENOENT if no version string was previously written,
|
||||
* Return: 0 if OK, -ENOENT if no version string was previously written,
|
||||
* -ENOSPC if the new string is too large to fit
|
||||
*/
|
||||
int smbios_update_version(const char *version);
|
||||
@@ -287,7 +287,7 @@ int smbios_update_version(const char *version);
|
||||
*
|
||||
* @smbios_tab: Start of SMBIOS tables
|
||||
* @version: New version string to use
|
||||
* @return 0 if OK, -ENOENT if no version string was previously written,
|
||||
* Return: 0 if OK, -ENOENT if no version string was previously written,
|
||||
* -ENOSPC if the new string is too large to fit
|
||||
*/
|
||||
int smbios_update_version_full(void *smbios_tab, const char *version);
|
||||
|
||||
Reference in New Issue
Block a user