mirror of
https://github.com/vivier/EMILE.git
synced 2024-10-10 16:23:42 +00:00
change prototype emile_map_get_partition_type
This commit is contained in:
parent
14f8b6c5ed
commit
18c4fafd56
@ -4,15 +4,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "partition.h"
|
||||
#include "libemile.h"
|
||||
|
||||
int emile_map_get_partition_type(emile_map_t *map, char** type)
|
||||
char* emile_map_get_partition_type(emile_map_t *map)
|
||||
{
|
||||
if (!emile_map_partition_is_valid(map))
|
||||
return -1;
|
||||
return NULL;
|
||||
|
||||
*type = map->partition.PartType;
|
||||
|
||||
return 0;
|
||||
return map->partition.PartType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user