partitioning_systems/gpt: Make _IsHeaderValid and _ValidateHeaderCRC static.

Thanks to Pawel for reviewing!
This commit is contained in:
Augustin Cavalier 2015-07-25 11:04:59 -04:00
parent ca8ed5ea66
commit 971f8f5041

View File

@ -53,9 +53,9 @@ private:
status_t _Read(int fd, off_t offset, void* data,
size_t size) const;
bool _IsHeaderValid(efi_table_header& header,
static bool _IsHeaderValid(efi_table_header& header,
uint64 block);
bool _ValidateHeaderCRC(efi_table_header& header);
static bool _ValidateHeaderCRC(efi_table_header& header);
bool _ValidateEntriesCRC() const;
void _SetBackupHeaderFromPrimary(uint64 lastBlock);
size_t _EntryArraySize() const