From: Lukasz Baj Date: Fri, 22 Sep 2017 08:24:46 +0000 (+0200) Subject: build: Remove custom reallocarray() declaration. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0db9f8903a446e7026874be519b8dc55a471f014;p=flex build: Remove custom reallocarray() declaration. Use one from instead because that is more portable. --- 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);