From 426ed71564efa7cfbe6a694d5b98c166a109216a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 11 Mar 2009 22:17:38 -0700 Subject: [PATCH] Pull unused function under HAVE_LIBEFI ifdef. --- lib/libzfs/libzfs_pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index 92642b7f4d..43dff1a8b2 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -48,7 +48,9 @@ #include "libzfs_impl.h" #include "zfs_config.h" +#ifdef HAVE_LIBEFI static int read_efi_label(nvlist_t *config, diskaddr_t *sb); +#endif #if defined(__i386) || defined(__amd64) #define BOOTCMD "installgrub(1M)"