Fix return type of test_free() prorotype
Subsystems (2)
PATCH 2/2 Fix return type of test_free() prorotype
The return type should be void, consistent with the definition and with the standard free() function.
Signed-off-by Ben Hutchings <[email protected]>
---
I've applied this post-4.2.
Ben.
internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
internal.h +1 -1
@@ -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);
Signature · 2 lines
Ben Hutchings If the facts do not conform to your theory, they must be disposed of.