summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib/libuboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/uboot/lib/libuboot.h')
-rw-r--r--sys/boot/uboot/lib/libuboot.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/boot/uboot/lib/libuboot.h b/sys/boot/uboot/lib/libuboot.h
index 771b7ce..e658008 100644
--- a/sys/boot/uboot/lib/libuboot.h
+++ b/sys/boot/uboot/lib/libuboot.h
@@ -49,24 +49,24 @@ struct uboot_devdesc
/*
* Default network packet alignment in memory
*/
-#define PKTALIGN 32
+#define PKTALIGN 32
-extern int uboot_getdev(void **vdev, const char *devspec, const char **path);
-extern char *uboot_fmtdev(void *vdev);
-extern int uboot_setcurrdev(struct env_var *ev, int flags, const void *value);
+int uboot_getdev(void **vdev, const char *devspec, const char **path);
+char *uboot_fmtdev(void *vdev);
+int uboot_setcurrdev(struct env_var *ev, int flags, const void *value);
-extern struct netif_driver uboot_net;
-extern struct devsw uboot_disk;
+extern struct netif_driver uboot_net;
+extern struct devsw uboot_disk;
ssize_t uboot_copyin(const void *src, vm_offset_t dest, const size_t len);
-ssize_t uboot_copyout(const vm_offset_t src, void *dest, const size_t len);
-ssize_t uboot_readin(const int fd, vm_offset_t dest, const size_t len);
+ssize_t uboot_copyout(const vm_offset_t src, void *dest, const size_t len);
+ssize_t uboot_readin(const int fd, vm_offset_t dest, const size_t len);
extern int uboot_autoload(void);
struct preloaded_file;
struct file_format;
-extern struct file_format uboot_elf;
+extern struct file_format uboot_elf;
-extern void reboot(void);
+void reboot(void);
OpenPOWER on IntegriCloud