include/nuttx/mm/map.h: Change mm_map_entry "priv" into union type
To be able to directly store also other than pointer types Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
f864e5f657
commit
6e4ddf78bb
@ -49,7 +49,11 @@ struct mm_map_entry_s
|
||||
off_t offset;
|
||||
int prot;
|
||||
int flags;
|
||||
FAR void *priv;
|
||||
union
|
||||
{
|
||||
FAR void *p;
|
||||
int i;
|
||||
} priv;
|
||||
|
||||
/* Drivers which register mappings may also
|
||||
* implement the unmap function to undo anything done in mmap.
|
||||
|
Loading…
x
Reference in New Issue
Block a user