aboutsummaryrefslogtreecommitdiff
path: root/lib/cbit
diff options
context:
space:
mode:
authorcomex2015-08-07 17:14:23 -0400
committercomex2015-08-07 17:14:23 -0400
commiteba07b47cdf64a1009b77d899f1435cc501e9eaa (patch)
tree3e2d560536aa19b07f66fd478b956217f6c5b0e0 /lib/cbit
parentadd the missing ability to specify --disable-x and --without-x ;p (diff)
downloadsubstitute-eba07b47cdf64a1009b77d899f1435cc501e9eaa.tar.gz
fix vec.h bug
Diffstat (limited to 'lib/cbit')
-rw-r--r--lib/cbit/vec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cbit/vec.h b/lib/cbit/vec.h
index eddee6a..cbefc0c 100644
--- a/lib/cbit/vec.h
+++ b/lib/cbit/vec.h
@@ -37,12 +37,12 @@ void vec_realloc_internal_as_necessary(struct vec_internal *vi,
}; \
}; \
UNUSED_STATIC_INLINE \
- void vec_free_storage(struct vec_##name *v) { \
+ void vec_free_storage_##name(struct vec_##name *v) { \
if (v->els != v->storage) \
free(v->els); \
} \
UNUSED_STATIC_INLINE \
- struct vec_##name vec_borrow(VEC_TY(name) *els, size_t length) { \
+ struct vec_##name vec_borrow##name(VEC_TY(name) *els, size_t length) { \
struct vec_##name v; \
v.length = v.capacity = length; \
v.els = els; \