diff packages/language/c/libc/current/src/stdlib/malloc.cxx @ 36:e97d78785e2d ecos-sw-1999-09-12

Merge from eCos master repository on 1999-09-12-15:40:34-BST
author jlarmour
date Sun, 12 Sep 1999 15:26:05 +0000
parents 443894e2e912
children c38311975d4f
line wrap: on
line diff
--- a/packages/language/c/libc/current/src/stdlib/malloc.cxx
+++ b/packages/language/c/libc/current/src/stdlib/malloc.cxx
@@ -218,6 +218,14 @@ externC void *
     return ret_ptr;
 } // _realloc()
 
+
+// Allows stress_threads test to access memory pool information.
+externC void *
+cyg_libc_get_malloc_pool( void )
+{
+    return (void*) &pool;
+}
+
 #endif // ifdef CYGPKG_LIBC_MALLOC
 
 // EOF malloc.cxx