Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=785c2071d13b512899bdd760d659084efd3b6042

commit 785c2071d13b512899bdd760d659084efd3b6042
Author: James Buren <[email protected]>
Date:   Tue Sep 11 10:26:06 2012 -0500

convert some function names to better names

diff --git a/src/local.h b/src/local.h
index ce033fa..47f0347 100644
--- a/src/local.h
+++ b/src/local.h
@@ -88,11 +88,11 @@ static inline bool is_normal_partition(PedPartitionType 
type)
return false;
}
}
-extern bool parted_new_partition(struct parted *parted,const char *size);
+extern bool parted_partition_new(struct parted *parted,const char *size);
extern bool parted_partition_get_active(struct parted *parted,int n);
extern bool parted_partition_set_active(struct parted *parted,int n);
extern bool parted_partition_unset_active(struct parted *parted,int n);
-extern bool parted_delete_last_partition(struct parted *parted);
+extern bool parted_partition_delete_last(struct parted *parted);
extern void parted_close(struct parted *parted);
extern int get_text_screen_width(const char *s);
extern bool get_text_screen_size(const char *text,int *width,int *height);
diff --git a/src/utility.c b/src/utility.c
index e729ce0..24cac34 100644
--- a/src/utility.c
+++ b/src/utility.c
@@ -280,7 +280,7 @@ extern bool parted_new_disk_label(struct parted 
*parted,PedDiskType *type)
return (parted->disk != 0);
}

-extern bool parted_new_partition(struct parted *parted,const char *size)
+extern bool parted_partition_new(struct parted *parted,const char *size)
{
PedSector sector = 0;
PedGeometry *range = 0;
@@ -351,7 +351,7 @@ extern bool parted_partition_unset_active(struct parted 
*parted,int n)
return parted_partition_change_active(parted,n,false);
}

-extern bool parted_delete_last_partition(struct parted *parted)
+extern bool parted_partition_delete_last(struct parted *parted)
{
PedPartition *part = 0;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to