misc minor cleanup

This commit is contained in:
James McKaskill 2013-09-12 23:57:29 -04:00
parent 7b0bfece26
commit 7397df1216
4 changed files with 29 additions and 18 deletions

2
capn.c
View file

@ -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);