git: f55a620a8d3c - stable/12 - loader: zfs_cmd.c does not really compile without libzfs.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Oct 2021 06:10:48 UTC
The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=f55a620a8d3caab91484fc932bda64af21d93c22 commit f55a620a8d3caab91484fc932bda64af21d93c22 Author: Toomas Soome <tsoome@FreeBSD.org> AuthorDate: 2020-06-16 07:30:34 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2021-10-08 02:42:51 +0000 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. (cherry picked from commit 467535dcfaa6be42efe0fe8be9582cafc5dfb812) --- stand/common/zfs_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/stand/common/zfs_cmd.c b/stand/common/zfs_cmd.c index cb98f7256268..3f6718f1850d 100644 --- a/stand/common/zfs_cmd.c +++ b/stand/common/zfs_cmd.c @@ -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);