remove two function headers from ntfs.h
This commit is contained in:
parent
9223789872
commit
043ca2c6b6
2 changed files with 4 additions and 4 deletions
|
@ -184,7 +184,7 @@ int test_NTFS(const disk_t *disk_car, const struct ntfs_boot_sector*ntfs_header,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ntfs_attribheader *ntfs_getattributeheaders(const ntfs_recordheader* record)
|
static const ntfs_attribheader *ntfs_getattributeheaders(const ntfs_recordheader* record)
|
||||||
{
|
{
|
||||||
const char* location = (const char*)record;
|
const char* location = (const char*)record;
|
||||||
if(le32(record->magic)!=NTFS_Magic ||
|
if(le32(record->magic)!=NTFS_Magic ||
|
||||||
|
@ -225,10 +225,12 @@ const ntfs_attribheader* ntfs_findattribute(const ntfs_recordheader* record, uin
|
||||||
return ntfs_searchattribute(attrib, attrType, end, 0);
|
return ntfs_searchattribute(attrib, attrType, end, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ntfs_attribheader* ntfs_nextattribute(const ntfs_attribheader* attrib, uint32_t attrType, const char* end)
|
#if 0
|
||||||
|
static const ntfs_attribheader* ntfs_nextattribute(const ntfs_attribheader* attrib, uint32_t attrType, const char* end)
|
||||||
{
|
{
|
||||||
return ntfs_searchattribute(attrib, attrType, end, 1);
|
return ntfs_searchattribute(attrib, attrType, end, 1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
const char* ntfs_getattributedata(const ntfs_attribresident* attrib, const char* end)
|
const char* ntfs_getattributedata(const ntfs_attribresident* attrib, const char* end)
|
||||||
{
|
{
|
||||||
|
|
|
@ -254,9 +254,7 @@ int test_NTFS(const disk_t *disk_car, const struct ntfs_boot_sector*ntfs_header,
|
||||||
#define NTFS_GETU64(p) (le64(*(const uint64_t*)(p)))
|
#define NTFS_GETU64(p) (le64(*(const uint64_t*)(p)))
|
||||||
unsigned int ntfs_sector_size(const struct ntfs_boot_sector *ntfs_header);
|
unsigned int ntfs_sector_size(const struct ntfs_boot_sector *ntfs_header);
|
||||||
int rebuild_NTFS_BS(disk_t *disk_car,partition_t *partition, const int verbose, const unsigned int expert, char**current_cmd);
|
int rebuild_NTFS_BS(disk_t *disk_car,partition_t *partition, const int verbose, const unsigned int expert, char**current_cmd);
|
||||||
const ntfs_attribheader *ntfs_getattributeheaders(const ntfs_recordheader* record);
|
|
||||||
const ntfs_attribheader* ntfs_findattribute(const ntfs_recordheader* record, uint32_t attrType, const char* end);
|
const ntfs_attribheader* ntfs_findattribute(const ntfs_recordheader* record, uint32_t attrType, const char* end);
|
||||||
const ntfs_attribheader* ntfs_nextattribute(const ntfs_attribheader* attrib, uint32_t attrType, const char* end);
|
|
||||||
const char* ntfs_getattributedata(const ntfs_attribresident* attrib, const char* end);
|
const char* ntfs_getattributedata(const ntfs_attribresident* attrib, const char* end);
|
||||||
long int ntfs_get_first_rl_element(const ntfs_attribnonresident *attrnr, const char* end);
|
long int ntfs_get_first_rl_element(const ntfs_attribnonresident *attrnr, const char* end);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue