summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Baj <l.baj@radytek.com>2017-09-22 10:24:46 +0200
committerWill Estes <westes575@gmail.com>2017-10-05 11:31:18 -0400
commit0db9f8903a446e7026874be519b8dc55a471f014 (patch)
treeb185809adcbb7e71fc6a6a35e45c4f348ddaaa61
parent37a6184dabcd82fa1d17c24c000f3da469296195 (diff)
build: Remove custom reallocarray() declaration.
Use one from <stdlib.h> instead because that is more portable.
-rw-r--r--src/flexdef.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/flexdef.h b/src/flexdef.h
index c111c51..ffc3e47 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -631,10 +631,6 @@ extern int sectnum, nummt, hshcol, dfaeql, numeps, eps2, num_reallocs;
extern int tmpuses, totnst, peakpairs, numuniq, numdup, hshsave;
extern int num_backing_up, bol_needed;
-#ifndef HAVE_REALLOCARRAY
-void *reallocarray(void *, size_t, size_t);
-#endif
-
void *allocate_array(int, size_t);
void *reallocate_array(void *, int, size_t);