aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/uboot/lib/glue.h
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@FreeBSD.org>2008-09-03 15:39:50 +0000
committerRafal Jaworowski <raj@FreeBSD.org>2008-09-03 15:39:50 +0000
commitaa8fb78b88b1049db923d9e691f280eab8c29463 (patch)
tree892bb1df63c93744c5e68f7e56ba2072cc220c72 /sys/boot/uboot/lib/glue.h
parent1b217218d501bf6ce346379a51833191f8ab36f0 (diff)
downloadsrc-aa8fb78b88b1049db923d9e691f280eab8c29463.tar.gz
src-aa8fb78b88b1049db923d9e691f280eab8c29463.zip
Move U-Boot compatibility library to WARNS=2 level.
Notes
Notes: svn path=/head/; revision=182723
Diffstat (limited to 'sys/boot/uboot/lib/glue.h')
-rw-r--r--sys/boot/uboot/lib/glue.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/boot/uboot/lib/glue.h b/sys/boot/uboot/lib/glue.h
index a7d0868f9881..72aff3b55c07 100644
--- a/sys/boot/uboot/lib/glue.h
+++ b/sys/boot/uboot/lib/glue.h
@@ -33,8 +33,10 @@
#ifndef _API_GLUE_H_
#define _API_GLUE_H_
+#include "api_public.h"
+
int syscall(int, int *, ...);
-void * syscall_ptr;
+void *syscall_ptr;
int api_search_sig(struct api_signature **sig);
@@ -53,16 +55,16 @@ void ub_puts(const char *s);
/* system */
void ub_reset(void);
-struct sys_info * ub_get_sys_info(void);
+struct sys_info *ub_get_sys_info(void);
/* time */
void ub_udelay(unsigned long);
unsigned long ub_get_timer(unsigned long);
/* env vars */
-char * ub_env_get(const char *name);
+char *ub_env_get(const char *name);
void ub_env_set(const char *name, char *value);
-const char * ub_env_enum(const char *last);
+const char *ub_env_enum(const char *last);
/* devices */
int ub_dev_enum(void);