summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:31:55 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:31:55 +0100
commitc01909eefa4b438b3947bdea74d45a7a1b4ce2e0 (patch)
treeae5b037fd9b26434522f5ea8f5504b3740567c31
parent1af8dd56e487a701539790ea1840493097e9f811 (diff)
code cleanup: remove verbose argument to fewf_init
-rw-r--r--src/ewf.c2
-rw-r--r--src/ewf.h2
-rw-r--r--src/hdaccess.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ewf.c b/src/ewf.c
index 407a6ff..4b7ac35 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -72,7 +72,7 @@ struct info_fewf_struct
unsigned int buffer_size;
};
-disk_t *fewf_init(const char *device, const int verbose, const arch_fnct_t *arch, const int mode)
+disk_t *fewf_init(const char *device, const arch_fnct_t *arch, const int mode)
{
unsigned int num_files=0;
char **filenames= NULL;
diff --git a/src/ewf.h b/src/ewf.h
index 3398071..3e2d3f5 100644
--- a/src/ewf.h
+++ b/src/ewf.h
@@ -24,7 +24,7 @@ extern "C" {
#endif
#if defined(HAVE_LIBEWF_H) && defined(HAVE_LIBEWF)
-disk_t *fewf_init(const char *device, const int verbose, const arch_fnct_t *arch, const int testdisk_mode);
+disk_t *fewf_init(const char *device, const arch_fnct_t *arch, const int testdisk_mode);
#endif
const char*td_ewf_version(void);
diff --git a/src/hdaccess.c b/src/hdaccess.c
index d4ec203..74a5f3f 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -1342,7 +1342,7 @@ disk_t *file_test_availability(const char *device, const int verbose, const arch
if(strncmp(device,"/dev/",5)!=0)
{
#if defined(HAVE_LIBEWF_H) && defined(HAVE_LIBEWF) && defined(HAVE_GLOB_H)
- return fewf_init(device,verbose,arch,testdisk_mode);
+ return fewf_init(device, arch, testdisk_mode);
#endif
}
return disk_car;
@@ -1424,7 +1424,7 @@ disk_t *file_test_availability(const char *device, const int verbose, const arch
free(disk_car);
close(hd_h);
#if defined(HAVE_LIBEWF_H) && defined(HAVE_LIBEWF)
- return fewf_init(device,verbose,arch,testdisk_mode);
+ return fewf_init(device, arch, testdisk_mode);
#else
return NULL;
#endif