mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
sandbox: add ifdef protection to os.h
Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -25,6 +25,9 @@
|
|||||||
* This provides access to useful OS routines from the sandbox architecture
|
* This provides access to useful OS routines from the sandbox architecture
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __OS_H__
|
||||||
|
#define __OS_H__
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Access to the OS read() system call
|
* Access to the OS read() system call
|
||||||
*
|
*
|
||||||
@@ -98,3 +101,5 @@ void os_usleep(unsigned long usec);
|
|||||||
* \return A monotonic increasing time scaled in nano seconds
|
* \return A monotonic increasing time scaled in nano seconds
|
||||||
*/
|
*/
|
||||||
u64 os_get_nsec(void);
|
u64 os_get_nsec(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user