mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
add missing const to src/adt.h
Signed-off-by: Sven Peter <sven@svenpeter.dev>
This commit is contained in:
parent
4c4850935f
commit
3268aabb91
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ const void *adt_getprop(const void *adt, int nodeoffset, const char *name,
|
|||
int *lenp);
|
||||
const void *adt_getprop_length(const void *adt, int nodeoffset,
|
||||
const char *name, int len);
|
||||
int adt_getprop_copy(const void *adt, int nodeoffset, const char *name,
|
||||
void *out, int len);
|
||||
const int adt_getprop_copy(const void *adt, int nodeoffset, const char *name,
|
||||
void *out, int len);
|
||||
|
||||
#define ADT_GETPROP(adt, nodeoffset, name, val) \
|
||||
adt_getprop_copy(adt, nodeoffset, name, (val), sizeof(*(val)))
|
||||
|
|
Loading…
Reference in a new issue