Message ID | 1327086425-17931-1-git-send-email-vapier@gentoo.org |
---|---|
State | Accepted |
Commit | 4f345d5673bc68122bcc5018a97fda2d8275437d |
Delegated to: | Mike Frysinger |
Headers | show |
On Fri, Jan 20, 2012 at 11:07 AM, Mike Frysinger <vapier@gentoo.org> wrote: > Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Simon Glass <sjg@chromium.org> > --- > include/os.h | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/include/os.h b/include/os.h > index f3af4f0..c17a8a5 100644 > --- 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 > -- > 1.7.7.3 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot
diff --git a/include/os.h b/include/os.h index f3af4f0..c17a8a5 100644 --- 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
Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- include/os.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)