lib: fix API

capn_new_string is exported as symbol but not in the header
capn_write_mem_packed is internal but the symbol is visible
This commit is contained in:
David Lamparter 2016-03-19 00:12:50 +01:00
parent b18dc3de8c
commit 00eaeeb936
2 changed files with 2 additions and 1 deletions

View file

@ -215,7 +215,7 @@ static int header_render(struct capn *c, struct capn_segment *seg, uint32_t *hea
return 0;
}
int capn_write_mem_packed(struct capn *c, uint8_t *p, size_t sz)
static int capn_write_mem_packed(struct capn *c, uint8_t *p, size_t sz)
{
struct capn_segment *seg;
struct capn_ptr root;