From aae81fd483b70c24ade4f1a26c7de39051ab7995 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 28 Sep 2019 23:36:55 +0200 Subject: Cleanup: remove string allocation helper function Signed-off-by: David Oberhollenzer --- include/util.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/util.h') diff --git a/include/util.h b/include/util.h index e7bc431..481ea1f 100644 --- a/include/util.h +++ b/include/util.h @@ -113,10 +113,6 @@ void *alloc_flex(size_t base_size, size_t item_size, size_t nmemb); SQFS_INTERNAL void *alloc_array(size_t item_size, size_t nmemb); -/* allocates len + 1 (for the null-terminator) and does overflow checking */ -SQFS_INTERNAL -void *alloc_string(size_t len); - /* Convert back to forward slashed, remove all preceeding and trailing slashes, collapse all sequences of slashes, remove all path components that are '.' -- cgit v1.2.3