aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-03 00:36:12 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-03 00:36:12 +0000
commitf7ddf3d3b79a8762bcf8c9fc8ae22392527ff7f6 (patch)
treec91234585688808d4a94aada6d4bfba8a06cb959 /malloc
parent62097690c666f54c912381b38089bced1fafd46d (diff)
downloadglibc-f7ddf3d3b79a8762bcf8c9fc8ae22392527ff7f6.zip
glibc-f7ddf3d3b79a8762bcf8c9fc8ae22392527ff7f6.tar.gz
glibc-f7ddf3d3b79a8762bcf8c9fc8ae22392527ff7f6.tar.bz2
Update.
2002-04-02 Jakub Jelinek <jakub@redhat.com> * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function. * inet/ether_hton.c (__nss_ethers_lookup): Likewise. * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise. * sunrpc/netname.c (__nss_publickey_lookup): Likewise. * sunrpc/publickey.c (__nss_publickey_lookup): Likewise. 2002-03-30 Jakub Jelinek <jakub@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown dynamic tags. 2002-03-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/s_fabs.S: New file. * sysdeps/i386/fpu/s_fabsf.S: New file. * sysdeps/i386/fpu/s_fabsl.S: New file. * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file. * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file. * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file. 2002-04-02 Ulrich Drepper <drepper@redhat.com> * rt/tst-shm.c (do_test): Add one more test for size of shared memory object. 2002-03-29 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c: Add short description and prototypes for malloc_get_state, malloc_set_state and posix_memalign, for consistency and to avoid warnings with -Wstrict-prototypes. Reported by Andreas Jaeger <aj@suse.de>. 2002-04-02 Ulrich Drepper <drepper@redhat.com> * po/gl.po: Update from translation team.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 059508a..4057f56 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1190,6 +1190,39 @@ void public_mSTATs(void);
void public_mSTATs();
#endif
+/*
+ malloc_get_state(void);
+
+ Returns the state of all malloc variables in an opaque data
+ structure.
+*/
+#if __STD_C
+Void_t* public_gET_STATe(void);
+#else
+Void_t* public_gET_STATe();
+#endif
+
+/*
+ malloc_set_state(Void_t* state);
+
+ Restore the state of all malloc variables from data obtained with
+ malloc_get_state().
+*/
+#if __STD_C
+int public_sET_STATe(Void_t*);
+#else
+int public_sET_STATe();
+#endif
+
+#ifdef _LIBC
+/*
+ posix_memalign(void **memptr, size_t alignment, size_t size);
+
+ POSIX wrapper like memalign(), checking for validity of size.
+*/
+int __posix_memalign(void **, size_t, size_t);
+#endif
+
/* mallopt tuning options */
/*