summaryrefslogtreecommitdiffstats
path: root/src/tload.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/tload.c
parentc6e94c6adfe071f4510190069638d70d59675f42 (diff)
Fix some compilation warnings
Diffstat (limited to 'src/tload.c')
-rw-r--r--src/tload.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tload.c b/src/tload.c
index 2538e4e..310d093 100644
--- a/src/tload.c
+++ b/src/tload.c
@@ -50,13 +50,13 @@
#include "tload.h"
#ifdef HAVE_NCURSES
-static list_part_t *merge_partition_list(list_part_t *list_part,list_part_t *backup_part, const int verbose);
+static list_part_t *merge_partition_list(list_part_t *list_part, list_part_t *backup_part);
#define INTER_LOAD 13
#define INTER_LOAD_X 0
#define INTER_LOAD_Y 22
-static struct td_list_head *interface_load_ncurses(disk_t *disk_car, backup_disk_t *backup_list, const int verbose)
+static struct td_list_head *interface_load_ncurses(disk_t *disk_car, backup_disk_t *backup_list)
{
int offset=0;
int backup_current_num=0;
@@ -178,7 +178,7 @@ static struct td_list_head *interface_load_ncurses(disk_t *disk_car, backup_disk
}
}
-static list_part_t *merge_partition_list(list_part_t *list_part,list_part_t *backup_part, const int verbose)
+static list_part_t *merge_partition_list(list_part_t *list_part, list_part_t *backup_part)
{
list_part_t *partition;
for(partition=backup_part;partition!=NULL;partition=partition->next)
@@ -209,7 +209,7 @@ list_part_t *interface_load(disk_t *disk_car,list_part_t *list_part, const int v
log_partition(disk_car,element->part);
}
#ifdef HAVE_NCURSES
- backup_current=interface_load_ncurses(disk_car, backup_list, verbose);
+ backup_current=interface_load_ncurses(disk_car, backup_list);
#endif
if(backup_current!=NULL)
{
@@ -221,7 +221,7 @@ list_part_t *interface_load(disk_t *disk_car,list_part_t *list_part, const int v
/* Check partition and load partition name */
disk_car->arch->check_part(disk_car,verbose,partition->part,0);
}
- list_part=merge_partition_list(list_part,backup->list_part,verbose);
+ list_part=merge_partition_list(list_part, backup->list_part);
}
{ /* Cleanup */
struct td_list_head *backup_walker_next = NULL;