From 7c028e224978e1d5a4f207cc42b9eb58d81897dd Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 23 Aug 2019 01:33:50 +0200 Subject: Some simple search/replace cases for allocation This commit exchanges some malloc(x + y * z) patterns that can be found with a simple git grep and are obvious for the new wrappers. Signed-off-by: David Oberhollenzer --- lib/comp/internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/comp/internal.h') diff --git a/lib/comp/internal.h b/lib/comp/internal.h index 6bcd8fc..986266d 100644 --- a/lib/comp/internal.h +++ b/lib/comp/internal.h @@ -10,6 +10,7 @@ #include "config.h" #include "compress.h" +#include "util.h" int generic_write_options(int fd, const void *data, size_t size); -- cgit v1.2.3