Date: Tue, 16 Jun 2020 07:30:34 +0000 (UTC) From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362218 - head/stand/common Message-ID: <202006160730.05G7UYBe070442@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tsoome Date: Tue Jun 16 07:30:34 2020 New Revision: 362218 URL: https://svnweb.freebsd.org/changeset/base/362218 Log: loader: zfs_cmd.c does not really compile without libzfs.h Having libzfs.h wrapped in LOADER_ZFS_SUPPORT check does not really make sense, because we do need function declarations with C99. Sponsored by: Netflix, Klara Inc. Modified: head/stand/common/zfs_cmd.c Modified: head/stand/common/zfs_cmd.c ============================================================================== --- head/stand/common/zfs_cmd.c Tue Jun 16 07:05:03 2020 (r362217) +++ head/stand/common/zfs_cmd.c Tue Jun 16 07:30:34 2020 (r362218) @@ -37,10 +37,7 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include "bootstrap.h" - -#ifdef LOADER_ZFS_SUPPORT #include "libzfs.h" -#endif COMMAND_SET(lszfs, "lszfs", "list child datasets of a zfs dataset", command_lszfs);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006160730.05G7UYBe070442>