fix a build warning

edge.strict_endians
flatcap 2005-09-27 15:25:19 +00:00
parent 339abc36b4
commit 2aa1cfe3d9
1 changed files with 6 additions and 3 deletions

View File

@ -1437,10 +1437,10 @@ static int mkntfs_attr_find(const ATTR_TYPES type, const ntfschar *name,
* EIO I/O error or corrupt data structures found.
* ENOMEM Not enough memory to allocate necessary buffers.
*/
int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name,
static int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name,
const u32 name_len, const IGNORE_CASE_BOOL ic,
const VCN lowest_vcn, const u8 *val, const u32 val_len,
ntfs_attr_search_ctx *ctx)
const VCN lowest_vcn __attribute__ ((unused)), const u8 *val,
const u32 val_len, ntfs_attr_search_ctx *ctx)
{
ntfs_inode *base_ni;
@ -3509,6 +3509,9 @@ static void mkntfs_fill_device_with_zeroes(void)
Qprintf(" - Done.\n");
}
/**
* create_file_volume -
*/
static void create_file_volume(MFT_RECORD *m, MFT_REF root_ref, VOLUME_FLAGS fl)
{
int i, err;