Herb's warning fixes. Also the POSIX locking fix.
[samba.git] / source3 / include / smb.h
index 24211b0d50ddeb671e95fb7b6688d0970e041ae7..4d4aef088ef0822ec62c090db2104405759acff8 100644 (file)
@@ -617,13 +617,6 @@ struct current_user
        NT_USER_TOKEN *nt_user_token;
 };
 
-/*
- * Reasons for cache flush.
- */
-
-#define NUM_FLUSH_REASONS 8 /* Keep this in sync with the enum below. */
-enum flush_reason_enum { SEEK_FLUSH, READ_FLUSH, WRITE_FLUSH, READRAW_FLUSH,
-                       OPLOCK_RELEASE_FLUSH, CLOSE_FLUSH, SYNC_FLUSH, SIZECHANGE_FLUSH };
 /* Defines for the sent_oplock_break field above. */
 #define NO_BREAK_SENT 0
 #define EXCLUSIVE_BREAK_SENT 1