projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bdf56b
)
sandbox: add ifdef protection to os.h
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 20 Jan 2012 03:57:29 +0000
(22:57 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 12 Mar 2012 15:03:42 +0000
(11:03 -0400)
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/os.h
patch
|
blob
|
history
diff --git
a/include/os.h
b/include/os.h
index f3af4f0e0e46e80ddd24efd98a5e5274b20a8204..c17a8a52ab3266c348568fb583005bcca6636bac 100644
(file)
--- a/
include/os.h
+++ b/
include/os.h
@@
-25,6
+25,9
@@
* This provides access to useful OS routines from the sandbox architecture
*/
+#ifndef __OS_H__
+#define __OS_H__
+
/**
* 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
*/
u64 os_get_nsec(void);
+
+#endif