Fix gcc missing case warnings
[zfs.git] / module / zfs / include / sys / zfs_znode.h
index 3e9621a..9d4b913 100644 (file)
@@ -48,20 +48,20 @@ extern "C" {
  * Additional file level attributes, that are stored
  * in the upper half of zp_flags
  */
-#define        ZFS_READONLY            0x0000000100000000
-#define        ZFS_HIDDEN              0x0000000200000000
-#define        ZFS_SYSTEM              0x0000000400000000
-#define        ZFS_ARCHIVE             0x0000000800000000
-#define        ZFS_IMMUTABLE           0x0000001000000000
-#define        ZFS_NOUNLINK            0x0000002000000000
-#define        ZFS_APPENDONLY          0x0000004000000000
-#define        ZFS_NODUMP              0x0000008000000000
-#define        ZFS_OPAQUE              0x0000010000000000
-#define        ZFS_AV_QUARANTINED      0x0000020000000000
-#define        ZFS_AV_MODIFIED         0x0000040000000000
-#define        ZFS_REPARSE             0x0000080000000000
-#define        ZFS_OFFLINE             0x0000100000000000
-#define        ZFS_SPARSE              0x0000200000000000
+#define        ZFS_READONLY            0x0000000100000000ull
+#define        ZFS_HIDDEN              0x0000000200000000ull
+#define        ZFS_SYSTEM              0x0000000400000000ull
+#define        ZFS_ARCHIVE             0x0000000800000000ull
+#define        ZFS_IMMUTABLE           0x0000001000000000ull
+#define        ZFS_NOUNLINK            0x0000002000000000ull
+#define        ZFS_APPENDONLY          0x0000004000000000ull
+#define        ZFS_NODUMP              0x0000008000000000ull
+#define        ZFS_OPAQUE              0x0000010000000000ull
+#define        ZFS_AV_QUARANTINED      0x0000020000000000ull
+#define        ZFS_AV_MODIFIED         0x0000040000000000ull
+#define        ZFS_REPARSE             0x0000080000000000ull
+#define        ZFS_OFFLINE             0x0000100000000000ull
+#define        ZFS_SPARSE              0x0000200000000000ull
 
 #define        ZFS_ATTR_SET(zp, attr, value, pflags, tx) \
 { \
@@ -309,8 +309,8 @@ extern int  zfs_rezget(znode_t *);
 extern void    zfs_zinactive(znode_t *);
 extern void    zfs_znode_delete(znode_t *, dmu_tx_t *);
 extern void    zfs_znode_free(znode_t *);
-extern void    zfs_remove_op_tables();
-extern int     zfs_create_op_tables();
+extern void    zfs_remove_op_tables(void);
+extern int     zfs_create_op_tables(void);
 extern int     zfs_sync(vfs_t *vfsp, short flag, cred_t *cr);
 extern dev_t   zfs_cmpldev(uint64_t);
 extern int     zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value);