summaryrefslogtreecommitdiffstats
path: root/darray.c
diff options
context:
space:
mode:
Diffstat (limited to 'darray.c')
-rw-r--r--darray.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/darray.c b/darray.c
index 8f796d6..6585d30 100644
--- a/darray.c
+++ b/darray.c
@@ -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));