mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 12:14:32 +08:00
sandbox: Add missing comments for os_alarm()
Add the documentation to avoid a warning with 'make htmldocs'.
Fixes: 10107efedd
("sandbox: add SIGALRM-based watchdog device")
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ff1f0e414a
commit
6ca4d5b96b
@ -110,6 +110,10 @@ void os_exit(int exit_code) __attribute__((noreturn));
|
||||
|
||||
/**
|
||||
* os_alarm() - access to the OS alarm() system call
|
||||
*
|
||||
* @seconds: number of seconds before the signal is sent
|
||||
* Returns: number of seconds remaining until any previously scheduled alarm was
|
||||
* due to be delivered; 0 if there was no previously scheduled alarm
|
||||
*/
|
||||
unsigned int os_alarm(unsigned int seconds);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user