mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
sandbox: document parameters of os_realloc()
Avoid 'make htmldocs' build warnings: ./include/os.h:139: warning: Function parameter or member 'ptr' not described in 'os_realloc' ./include/os.h:139: warning: Function parameter or member 'length' not described in 'os_realloc' Fixes: 14e46dfb176b ("sandbox: Add os_realloc()") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
48f45455bf
commit
4c30d18ed3
@ -134,7 +134,9 @@ void os_free(void *ptr);
|
||||
* This follows the semantics of realloc(), so can perform an os_malloc() or
|
||||
* os_free() depending on @ptr and @length.
|
||||
*
|
||||
* Return: Pointer to reallocated memory or NULL if @length is 0
|
||||
* @ptr: pointer to previously allocated memory of NULL
|
||||
* @length: number of bytes to allocate
|
||||
* Return: pointer to reallocated memory or NULL if @length is 0
|
||||
*/
|
||||
void *os_realloc(void *ptr, size_t length);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user