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:
parent
b18dc3de8c
commit
00eaeeb936
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue