diff options
Diffstat (limited to 'include/zfs_common.h')
-rw-r--r-- | include/zfs_common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/zfs_common.h b/include/zfs_common.h index cb83e59e836..8b93d689c90 100644 --- a/include/zfs_common.h +++ b/include/zfs_common.h @@ -27,14 +27,12 @@ #define SECTOR_SIZE 0x200 #define SECTOR_BITS 9 - typedef enum zfs_endian { UNKNOWN_ENDIAN = -2, LITTLE_ENDIAN = -1, BIG_ENDIAN = 0 } zfs_endian_t; - /* Endian macros. */ #define zfs_to_cpu16(x, a) (((a) == BIG_ENDIAN) ? be16_to_cpu(x) \ : le16_to_cpu(x)) @@ -51,7 +49,6 @@ typedef enum zfs_endian { #define cpu_to_zfs64(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be64(x) \ : cpu_to_le64(x)) - enum zfs_errors { ZFS_ERR_NONE = 0, ZFS_ERR_NOT_IMPLEMENTED_YET = -1, @@ -89,9 +86,6 @@ struct zfs_dirhook_info { time_t mtime2; }; - - - struct zfs_filesystem *zfsget_fs(void); int zfs_open(zfs_file_t, const char *filename); uint64_t zfs_read(zfs_file_t, char *buf, uint64_t len); |