The return type should be void, consistent with the definition and
with the standard free() function.
Signed-off-by: Ben Hutchings <redacted>
---
I've applied this post-4.2.
Ben.
internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal.h b/internal.h
index 156770c..b5ef646 100644
--- a/internal.h
+++ b/internal.h
@@ -148,7 +148,7 @@ void *test_calloc(size_t nmemb, size_t size);
char *test_strdup(const char *s);
#undef strdup
#define strdup(s) test_strdup(s)
-void *test_free(void *ptr);
+void test_free(void *ptr);
#undef free
#define free(ptr) test_free(ptr)
void *test_realloc(void *ptr, size_t size);
--
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.