summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/addpart.c22
-rw-r--r--src/addpart.h2
-rw-r--r--src/adv.c2
-rw-r--r--src/intrface.c2
-rw-r--r--src/partgpt.c2
-rw-r--r--src/partgpt.h2
-rw-r--r--src/partgptn.c2
-rw-r--r--src/partgptn.h2
-rw-r--r--src/parti386.c2
-rw-r--r--src/parti386.h2
-rw-r--r--src/parti386n.c2
-rw-r--r--src/parti386n.h2
-rw-r--r--src/partmac.c2
-rw-r--r--src/partmac.h2
-rw-r--r--src/partmacn.c2
-rw-r--r--src/partmacn.h2
-rw-r--r--src/partsun.c2
-rw-r--r--src/partsun.h2
-rw-r--r--src/partsunn.c2
-rw-r--r--src/partsunn.h2
-rw-r--r--src/partxbox.c2
-rw-r--r--src/partxbox.h2
-rw-r--r--src/partxboxn.c2
-rw-r--r--src/partxboxn.h2
-rw-r--r--src/ppartsel.c2
25 files changed, 35 insertions, 35 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;
}
diff --git a/src/addpart.h b/src/addpart.h
index ee1ccb4..26cc86b 100644
--- a/src/addpart.h
+++ b/src/addpart.h
@@ -20,4 +20,4 @@
*/
-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);
diff --git a/src/adv.c b/src/adv.c
index 3b8de62..0f71447 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -384,7 +384,7 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
case 'A':
if(disk_car->arch!=&arch_none)
{
- list_part=add_partition(disk_car, list_part, verbose, current_cmd);
+ list_part=add_partition(disk_car, list_part, current_cmd);
current_element=list_part;
rewrite=1;
}
diff --git a/src/intrface.c b/src/intrface.c
index b14006c..fde2bb2 100644
--- a/src/intrface.c
+++ b/src/intrface.c
@@ -326,7 +326,7 @@ static list_part_t *ask_structure_ncurses(disk_t *disk_car,list_part_t *list_par
case 'A':
if(disk_car->arch != &arch_none)
{
- list_part=add_partition(disk_car,list_part, verbose, current_cmd);
+ list_part=add_partition(disk_car,list_part, current_cmd);
rewrite=1;
offset=0;
pos_num=0;
diff --git a/src/partgpt.c b/src/partgpt.c
index b32e383..75730e9 100644
--- a/src/partgpt.c
+++ b/src/partgpt.c
@@ -523,7 +523,7 @@ static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *lis
return list_part;
}
-list_part_t *add_partition_gpt_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_gpt_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
partition_t *new_partition=partition_new(&arch_gpt);
new_partition->part_offset=disk_car->sector_size;
diff --git a/src/partgpt.h b/src/partgpt.h
index 801e478..fa0bcc2 100644
--- a/src/partgpt.h
+++ b/src/partgpt.h
@@ -62,7 +62,7 @@ struct systypes_gtp {
const char *name;
};
-list_part_t *add_partition_gpt_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_gpt_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partgptn.c b/src/partgptn.c
index 392bf4e..194d20e 100644
--- a/src/partgptn.c
+++ b/src/partgptn.c
@@ -51,7 +51,7 @@
extern const arch_fnct_t arch_gpt;
-list_part_t *add_partition_gpt_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_gpt_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
int position=0;
int done = FALSE;
diff --git a/src/partgptn.h b/src/partgptn.h
index adef9a5..7e9db1e 100644
--- a/src/partgptn.h
+++ b/src/partgptn.h
@@ -23,7 +23,7 @@
extern "C" {
#endif
-list_part_t *add_partition_gpt_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_gpt_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/parti386.c b/src/parti386.c
index 75d8fb1..91fd238 100644
--- a/src/parti386.c
+++ b/src/parti386.c
@@ -1175,7 +1175,7 @@ static int is_extended(const unsigned int part_type)
return (part_type==(const unsigned char)P_EXTENDX || part_type==(const unsigned char)P_EXTENDED || part_type==(const unsigned char)P_LINUXEXTENDX);
}
-list_part_t *add_partition_i386_cli(disk_t *disk_car, list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_i386_cli(disk_t *disk_car, list_part_t *list_part, char **current_cmd)
{
CHS_t start,end;
partition_t *new_partition=partition_new(&arch_i386);
diff --git a/src/parti386.h b/src/parti386.h
index 6f4be4a..80a1909 100644
--- a/src/parti386.h
+++ b/src/parti386.h
@@ -24,7 +24,7 @@ extern "C" {
#endif
int parti386_can_be_ext(const disk_t *disk_car, const partition_t *partition);
-list_part_t *add_partition_i386_cli(disk_t *disk_car, list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_i386_cli(disk_t *disk_car, list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/parti386n.c b/src/parti386n.c
index 6848553..b69df00 100644
--- a/src/parti386n.c
+++ b/src/parti386n.c
@@ -40,7 +40,7 @@
extern const arch_fnct_t arch_i386;
-list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
int position=0;
CHS_t start,end;
diff --git a/src/parti386n.h b/src/parti386n.h
index a67431f..e07b50e 100644
--- a/src/parti386n.h
+++ b/src/parti386n.h
@@ -23,7 +23,7 @@
extern "C" {
#endif
-list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partmac.c b/src/partmac.c
index df3bb20..46040b8 100644
--- a/src/partmac.c
+++ b/src/partmac.c
@@ -214,7 +214,7 @@ static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *lis
return list_part;
}
-list_part_t *add_partition_mac_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_mac_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
partition_t *new_partition=partition_new(&arch_mac);
new_partition->part_offset=disk_car->sector_size;
diff --git a/src/partmac.h b/src/partmac.h
index 58b90f5..38f77fd 100644
--- a/src/partmac.h
+++ b/src/partmac.h
@@ -93,7 +93,7 @@ struct dpme {
typedef struct dpme mac_DPME;
int test_structure_mac(list_part_t *list_part);
-list_part_t *add_partition_mac_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_mac_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partmacn.c b/src/partmacn.c
index ab7c2d9..ebd79c8 100644
--- a/src/partmacn.c
+++ b/src/partmacn.c
@@ -64,7 +64,7 @@ void write_part_mac_warning_ncurses(void)
#endif
}
-list_part_t *add_partition_mac_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_mac_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
int position=0;
int done = FALSE;
diff --git a/src/partmacn.h b/src/partmacn.h
index ac31653..30fe028 100644
--- a/src/partmacn.h
+++ b/src/partmacn.h
@@ -25,7 +25,7 @@ extern "C" {
#endif
void write_part_mac_warning_ncurses(void);
-list_part_t *add_partition_mac_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_mac_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partsun.c b/src/partsun.c
index 9f0f6ad..01a1e83 100644
--- a/src/partsun.c
+++ b/src/partsun.c
@@ -220,7 +220,7 @@ static list_part_t *init_part_order_sun(const disk_t *disk_car, list_part_t *lis
return list_part;
}
-list_part_t *add_partition_sun_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_sun_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
CHS_t start,end;
partition_t *new_partition=partition_new(&arch_sun);
diff --git a/src/partsun.h b/src/partsun.h
index bc75581..47183b1 100644
--- a/src/partsun.h
+++ b/src/partsun.h
@@ -23,7 +23,7 @@
extern "C" {
#endif
-list_part_t *add_partition_sun_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_sun_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partsunn.c b/src/partsunn.c
index 455b198..1537d47 100644
--- a/src/partsunn.c
+++ b/src/partsunn.c
@@ -39,7 +39,7 @@
extern const arch_fnct_t arch_sun;
-list_part_t *add_partition_sun_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_sun_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
CHS_t start,end;
partition_t *new_partition=partition_new(&arch_sun);
diff --git a/src/partsunn.h b/src/partsunn.h
index 1b875eb..a49ff2a 100644
--- a/src/partsunn.h
+++ b/src/partsunn.h
@@ -23,7 +23,7 @@
extern "C" {
#endif
-list_part_t *add_partition_sun_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_sun_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partxbox.c b/src/partxbox.c
index cabf3f7..cf6f7f5 100644
--- a/src/partxbox.c
+++ b/src/partxbox.c
@@ -144,7 +144,7 @@ static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *li
return list_part;
}
-list_part_t *add_partition_xbox_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_xbox_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
partition_t *new_partition=partition_new(&arch_xbox);
new_partition->part_offset=disk_car->sector_size;
diff --git a/src/partxbox.h b/src/partxbox.h
index b0d0d63..59dcde1 100644
--- a/src/partxbox.h
+++ b/src/partxbox.h
@@ -31,7 +31,7 @@ struct xbox_partition
uint32_t bootnbr;
} __attribute__ ((__packed__));
-list_part_t *add_partition_xbox_cli(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_xbox_cli(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/partxboxn.c b/src/partxboxn.c
index 42bfde5..d76b881 100644
--- a/src/partxboxn.c
+++ b/src/partxboxn.c
@@ -39,7 +39,7 @@
extern const arch_fnct_t arch_xbox;
-list_part_t *add_partition_xbox_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd)
+list_part_t *add_partition_xbox_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
int position=0;
int done = FALSE;
diff --git a/src/partxboxn.h b/src/partxboxn.h
index 4ba71b1..872eae7 100644
--- a/src/partxboxn.h
+++ b/src/partxboxn.h
@@ -23,7 +23,7 @@
extern "C" {
#endif
-list_part_t *add_partition_xbox_ncurses(disk_t *disk_car,list_part_t *list_part, const int verbose, char **current_cmd);
+list_part_t *add_partition_xbox_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd);
#ifdef __cplusplus
} /* closing brace for extern "C" */
diff --git a/src/ppartsel.c b/src/ppartsel.c
index 6434617..61fc530 100644
--- a/src/ppartsel.c
+++ b/src/ppartsel.c
@@ -432,7 +432,7 @@ void menu_photorec(disk_t *disk_car, const int verbose, const char *recup_dir, f
case 'A':
if(disk_car->arch != &arch_none)
{
- list_part=add_partition(disk_car, list_part, verbose, current_cmd);
+ list_part=add_partition(disk_car, list_part, current_cmd);
current_element=list_part;
current_element_num=0;
}