diff options
Diffstat (limited to 'src/strvec.c')
| -rw-r--r-- | src/strvec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/strvec.c b/src/strvec.c index 7073edf..296dccf 100644 --- a/src/strvec.c +++ b/src/strvec.c @@ -5,7 +5,8 @@ #include <string.h> int -strvec_init(struct strvec *strvec, size_t cap, struct allocator *allocator) +strvec_init(struct strvec *strvec, size_t cap, + const struct allocator *allocator) { int rc; @@ -31,7 +32,7 @@ strvec_deinit(struct strvec *strvec) } struct strvec * -strvec_alloc(size_t cap, struct allocator *allocator, int *_rc) +strvec_alloc(size_t cap, const struct allocator *allocator, int *_rc) { struct strvec *strvec; int *rc, stub; |
