mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue