|
@@ -486,11 +486,11 @@ extern int lcong48_r (unsigned short int __param[7],
|
|
__BEGIN_NAMESPACE_STD
|
|
__BEGIN_NAMESPACE_STD
|
|
/* Allocate SIZE bytes of memory. */
|
|
/* Allocate SIZE bytes of memory. */
|
|
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
|
|
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
|
|
-/* We want the malloc symbols overridable at runtime
|
|
+/* We want the malloc symbol overridable at runtime, do not hide it! */
|
|
- * libc_hidden_proto(malloc) */
|
|
|
|
/* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */
|
|
/* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */
|
|
extern void *calloc (size_t __nmemb, size_t __size)
|
|
extern void *calloc (size_t __nmemb, size_t __size)
|
|
__THROW __attribute_malloc__ __wur;
|
|
__THROW __attribute_malloc__ __wur;
|
|
|
|
+/* We want the calloc symbol overridable at runtime, do not hide it! */
|
|
__END_NAMESPACE_STD
|
|
__END_NAMESPACE_STD
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -503,8 +503,10 @@ __BEGIN_NAMESPACE_STD
|
|
between objects pointed by the old and new pointers. */
|
|
between objects pointed by the old and new pointers. */
|
|
extern void *realloc (void *__ptr, size_t __size)
|
|
extern void *realloc (void *__ptr, size_t __size)
|
|
__THROW __wur;
|
|
__THROW __wur;
|
|
|
|
+/* We want the realloc symbol overridable at runtime, do not hide it! */
|
|
/* Free a block allocated by `malloc', `realloc' or `calloc'. */
|
|
/* Free a block allocated by `malloc', `realloc' or `calloc'. */
|
|
extern void free (void *__ptr) __THROW;
|
|
extern void free (void *__ptr) __THROW;
|
|
|
|
+/* We want the free symbol overridable at runtime, do not hide it! */
|
|
__END_NAMESPACE_STD
|
|
__END_NAMESPACE_STD
|
|
|
|
|
|
#if 0 /*def __USE_MISC*/
|
|
#if 0 /*def __USE_MISC*/
|