summaryrefslogtreecommitdiff
path: root/src/flexdef.h
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-12-08 21:16:52 -0500
committerWill Estes <westes575@gmail.com>2015-12-09 09:53:57 -0500
commitd95947343e8a52957048b1d0b72c262183f2723f (patch)
tree94ece9fd39c511e1a460881e6bde7b462c804c93 /src/flexdef.h
parent1cc5d870326d0c574a21bbe85457bfc50d6cc43e (diff)
Removed flex_free()i, corrected buf_destroy logic.
As with flex_alloc(), replace with direct calls to free(). The function buf_destroy is now null safe and the logic was corrected to free() correctly.
Diffstat (limited to 'src/flexdef.h')
-rw-r--r--src/flexdef.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/flexdef.h b/src/flexdef.h
index 098eb04..dc8cd36 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -677,8 +677,6 @@ extern int num_backing_up, bol_needed;
void *allocate_array PROTO ((int, size_t));
void *reallocate_array PROTO ((void *, int, size_t));
-void flex_free PROTO ((void *));
-
#define allocate_integer_array(size) \
allocate_array(size, sizeof(int))