summaryrefslogtreecommitdiffstats
path: root/src/partgpt.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:57:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:57:12 +0100
commitc06ebfc5f2e463ac815647c7afb83e122efd7d4d (patch)
treea582d9e424b059ef0835bd74051f9abb126b0f1a /src/partgpt.c
parentc4f158b6ffc7460b036abf233131e22a0daaf8d8 (diff)
Define as static some functions
Diffstat (limited to 'src/partgpt.c')
-rw-r--r--src/partgpt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/partgpt.c b/src/partgpt.c
index dc853f6..6615d50 100644
--- a/src/partgpt.c
+++ b/src/partgpt.c
@@ -634,9 +634,6 @@ static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, co
if(element->to_be_removed==0)
new_list_part=insert_new_partition(new_list_part, element->part, 0, &insert_error);
}
-#ifdef DEBUG
- check_list_part(new_list_part);
-#endif
for(element=new_list_part;element!=NULL;element=element->next)
element->part->status=STATUS_PRIM;
if(disk_car->arch->test_structure(new_list_part))
@@ -645,9 +642,6 @@ static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, co
element->part->status=STATUS_DELETED;
}
part_free_list_only(new_list_part);
-#ifdef DEBUG
- check_list_part(list_part);
-#endif
}
static int check_part_gpt(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader)