misc minor cleanup
This commit is contained in:
parent
7b0bfece26
commit
7397df1216
4 changed files with 29 additions and 18 deletions
2
capn.c
2
capn.c
|
|
@ -739,7 +739,7 @@ static int copy_ptr(struct capn_segment *seg, char *data, struct capn_ptr *t, st
|
|||
}
|
||||
}
|
||||
|
||||
void copy_list_member(capn_ptr* t, capn_ptr *f, int *dep) {
|
||||
static void copy_list_member(capn_ptr* t, capn_ptr *f, int *dep) {
|
||||
/* copy struct data */
|
||||
int sz = min(t->datasz, f->datasz);
|
||||
memcpy(t->data, f->data, sz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue