summaryrefslogtreecommitdiffstats
path: root/src/godmode.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/godmode.c
parentc6e94c6adfe071f4510190069638d70d59675f42 (diff)
Fix some compilation warnings
Diffstat (limited to 'src/godmode.c')
-rw-r--r--src/godmode.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/godmode.c b/src/godmode.c
index 13df273..73f99d8 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -24,27 +24,20 @@
#endif
#include <stdio.h>
-#include <ctype.h> /* tolower */
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
#include "types.h"
#include "common.h"
#include "fnctdsk.h"
#include "analyse.h"
#include "lang.h"
#include "godmode.h"
-#include "testdisk.h"
#include "intrface.h"
-#include "fat.h"
#include "ext2.h"
#include "intrf.h"
#include "intrfn.h"
#include "md.h"
-#include "adv.h"
#include "ntfs.h"
#include "next.h"
#include "tpartwr.h"
@@ -1184,12 +1177,12 @@ static int use_backup(disk_t *disk_car, const list_part_t *list_part, const int
fat32_boot_sector(disk_car, element->part, verbose, dump_ind, expert,current_cmd);
break;
case UP_NTFS:
- ntfs_boot_sector(disk_car, element->part, verbose, dump_ind, expert, current_cmd);
+ ntfs_boot_sector(disk_car, element->part, verbose, expert, current_cmd);
break;
case UP_HFS:
case UP_HFSP:
case UP_HFSX:
- HFS_HFSP_boot_sector(disk_car, element->part, verbose, dump_ind, expert, current_cmd);
+ HFS_HFSP_boot_sector(disk_car, element->part, verbose, current_cmd);
break;
default:
log_warning("Need to fix\n");