From 21a929f5ab6dd52b880e49272a50de5ee507137d Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Fri, 5 May 2006 18:42:14 +0000 Subject: [PATCH] Export the 'free' standard C function for use in the test suite. --- Modules/_ctypes/_ctypes_test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index ad3b047f6b..2696b9b691 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -96,6 +96,11 @@ EXPORT(char *) my_strdup(char *src) return dst; } +EXPORT(void) free(void *ptr) +{ + free(ptr); +} + #ifdef HAVE_WCHAR_H EXPORT(wchar_t *) my_wcsdup(wchar_t *src) { -- 2.40.0