[ethtool] 02/20: Fix return type of test_free() prorotype

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Mar 14 11:37:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository ethtool.

commit 89a949e67102cf5ea8e906b24850816cae946397
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Oct 9 04:01:18 2015 +0100

    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 <ben at decadent.org.uk>
---
 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/ethtool.git



More information about the Kernel-svn-changes mailing list