diff options
Diffstat (limited to 'darray.c')
-rw-r--r-- | darray.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -15,7 +15,6 @@ ****************************************************************************/ #include "darray.h" -#include <assert.h> #include <stdlib.h> #include <string.h> @@ -97,14 +96,6 @@ int darray_check(void *da) { } } -size_t darray_pop(void *da) { - assert(da); - - struct darray *header = darray_header(da); - assert(header->length > 0); - return --header->length; -} - void darray_free(void *da) { if (da) { free(darray_header(da)); |