* include/parted/parted.in.h (ped_realloc): Remove declaration.
* libparted/libparted.c (ped_realloc): Remove definition.
extern void* ped_malloc (size_t size);
extern void* ped_calloc (size_t size);
-extern int ped_realloc (void** ptr, size_t size);
extern void free (void* ptr);
#ifdef __cplusplus
return mem;
}
-int
-ped_realloc (void** old, size_t size)
-{
- void* mem;
-
- mem = (void*) realloc (*old, size);
- if (!mem) {
- ped_exception_throw (PED_EXCEPTION_FATAL, PED_EXCEPTION_CANCEL,
- _("Out of memory."));
- return 0;
- }
- *old = mem;
- return 1;
-}
-
void* ped_calloc (size_t size)
{
FUNC:ped_partition_set_name
FUNC:ped_partition_set_system
FUNC:ped_partition_type_get_name
-FUNC:ped_realloc
FUNC:ped_register_disk_type
FUNC:ped_round_down_to
FUNC:ped_round_to_nearest