summaryrefslogtreecommitdiffstats
path: root/src/addpart.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:26:32 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:26:32 +0100
commit1af8dd56e487a701539790ea1840493097e9f811 (patch)
tree37f404e9d9cbeabaf4656cb0d21b70181f1cb1e4 /src/addpart.c
parent60b94687c75aa21e1432df3a413f687c10869958 (diff)
code cleanup: remove verbose argument to add_partition_*()
Diffstat (limited to 'src/addpart.c')
-rw-r--r--src/addpart.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/addpart.c b/src/addpart.c
index 4b5adb2..a4b2ea3 100644
--- a/src/addpart.c
+++ b/src/addpart.c
@@ -47,32 +47,32 @@ extern const arch_fnct_t arch_mac;
extern const arch_fnct_t arch_sun;
extern const arch_fnct_t arch_xbox;
-list_part_t *add_partition(disk_t *disk_car, list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition(disk_t *disk_car, list_part_t *list_part, char **current_cmd)
{
if(*current_cmd!=NULL)
{
if(disk_car->arch==&arch_gpt)
- return add_partition_gpt_cli(disk_car, list_part, verbose, current_cmd);
+ return add_partition_gpt_cli(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_i386)
- return add_partition_i386_cli(disk_car, list_part, verbose, current_cmd);
+ return add_partition_i386_cli(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_mac)
- return add_partition_mac_cli(disk_car, list_part, verbose, current_cmd);
+ return add_partition_mac_cli(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_sun)
- return add_partition_sun_cli(disk_car, list_part, verbose, current_cmd);
+ return add_partition_sun_cli(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_xbox)
- return add_partition_xbox_cli(disk_car, list_part, verbose, current_cmd);
+ return add_partition_xbox_cli(disk_car, list_part, current_cmd);
}
#ifdef HAVE_NCURSES
if(disk_car->arch==&arch_gpt)
- return add_partition_gpt_ncurses(disk_car, list_part, verbose, current_cmd);
+ return add_partition_gpt_ncurses(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_i386)
- return add_partition_i386_ncurses(disk_car, list_part, verbose, current_cmd);
+ return add_partition_i386_ncurses(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_mac)
- return add_partition_mac_ncurses(disk_car, list_part, verbose, current_cmd);
+ return add_partition_mac_ncurses(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_sun)
- return add_partition_sun_ncurses(disk_car, list_part, verbose, current_cmd);
+ return add_partition_sun_ncurses(disk_car, list_part, current_cmd);
else if(disk_car->arch==&arch_xbox)
- return add_partition_xbox_ncurses(disk_car, list_part, verbose, current_cmd);
+ return add_partition_xbox_ncurses(disk_car, list_part, current_cmd);
#endif
return list_part;
}