diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-23 01:33:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-23 02:09:51 +0200 |
commit | 7c028e224978e1d5a4f207cc42b9eb58d81897dd (patch) | |
tree | d7165e3b9d1a7041cd79712526ad472c21135bdc /lib/comp/internal.h | |
parent | 0a5383ccdf8e87d2259d02a9ff44420b3bc3f58d (diff) |
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/comp/internal.h')
-rw-r--r-- | lib/comp/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |