summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
commit203df0e3a588f01ebfb60428eb1a5ab258a4969d (patch)
tree022c7facc406d0eea910638c7b41355964ee8549 /src/dir.c
parentc6e94c6adfe071f4510190069638d70d59675f42 (diff)
Fix some compilation warnings
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/dir.c b/src/dir.c
index 0d398bc..a9ec4a9 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -44,17 +44,8 @@
#include <io.h>
#endif
#include "common.h"
-#include "fat.h"
-#include "lang.h"
-#include "fnctdsk.h"
-#include "testdisk.h"
-#include "intrf.h"
#include <stdio.h>
#include "dir.h"
-#include "ext2_dir.h"
-#include "fat_dir.h"
-#include "ntfs_dir.h"
-#include "rfs_dir.h"
#include "log.h"
#include "log_part.h"
@@ -161,7 +152,7 @@ void mode_string (const unsigned int mode, char *str)
#endif
}
-int dir_aff_log(const disk_t *disk, const partition_t *partition, const dir_data_t *dir_data, const file_data_t*dir_list)
+int dir_aff_log(const dir_data_t *dir_data, const file_data_t*dir_list)
{
int test_date=0;
const file_data_t *current_file;
@@ -300,7 +291,7 @@ static int dir_whole_partition_log_aux(disk_t *disk, const partition_t *partitio
if(dir_data->verbose>0)
log_info("\ndir_partition inode=%lu\n",inode);
dir_list=dir_data->get_dir(disk, partition, dir_data, inode);
- dir_aff_log(disk, partition, dir_data, dir_list);
+ dir_aff_log(dir_data, dir_list);
/* Not perfect for FAT32 root cluster */
inode_known[dir_nbr++]=inode;
for(current_file=dir_list;current_file!=NULL;current_file=current_file->next)