mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-13 15:05:05 +00:00
change prototype emile_map_get_partition_name
This commit is contained in:
parent
18c4fafd56
commit
12ad8d8fc5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user