change prototype emile_map_get_partition_name

This commit is contained in:
Laurent Vivier 2004-12-16 23:22:40 +00:00
parent 18c4fafd56
commit 12ad8d8fc5

View File

@ -4,15 +4,15 @@
*
*/
#include <stdio.h>
#include "partition.h"
#include "libemile.h"
int emile_map_get_partition_name(emile_map_t *map, char** name)
char* emile_map_get_partition_name(emile_map_t *map)
{
if (!emile_map_partition_is_valid(map))
return -1;
return NULL;
*name = map->partition.PartName;
return 0;
return map->partition.PartName;
}