summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-22 06:29:20 +0000
committerngie <ngie@FreeBSD.org>2017-05-22 06:29:20 +0000
commitb74bf67e2891e060aab31587bec7cc02d444d75e (patch)
treee102a600399b0ecd0905045e805ed972455b75e4 /sys/boot
parent0f6ae05445923f47353a7182c29625a61f2ad6c6 (diff)
downloadFreeBSD-src-b74bf67e2891e060aab31587bec7cc02d444d75e.zip
FreeBSD-src-b74bf67e2891e060aab31587bec7cc02d444d75e.tar.gz
MFC r316103:
Remove redundant declarations They're already defined in libstand.h
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/efi/boot1/boot1.c1
-rw-r--r--sys/boot/efi/boot1/boot_module.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/boot/efi/boot1/boot1.c b/sys/boot/efi/boot1/boot1.c
index 90491fe..ce8a272 100644
--- a/sys/boot/efi/boot1/boot1.c
+++ b/sys/boot/efi/boot1/boot1.c
@@ -47,7 +47,6 @@ static const boot_module_t *boot_modules[] =
/* The initial number of handles used to query EFI for partitions. */
#define NUM_HANDLES_INIT 24
-void putchar(int c);
EFI_STATUS efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE* Xsystab);
EFI_SYSTEM_TABLE *systab;
diff --git a/sys/boot/efi/boot1/boot_module.h b/sys/boot/efi/boot1/boot_module.h
index 3a6b827..1917da2 100644
--- a/sys/boot/efi/boot1/boot_module.h
+++ b/sys/boot/efi/boot1/boot_module.h
@@ -105,8 +105,6 @@ extern const boot_module_t zfs_module;
/* Functions available to modules. */
extern void add_device(dev_info_t **devinfop, dev_info_t *devinfo);
-extern void panic(const char *fmt, ...) __dead2;
-extern int printf(const char *fmt, ...);
extern int vsnprintf(char *str, size_t sz, const char *fmt, va_list ap);
extern EFI_SYSTEM_TABLE *systab;
OpenPOWER on IntegriCloud