summaryrefslogtreecommitdiffstats
path: root/kdecore/malloc/glibc.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kdecore/malloc/glibc.h
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/malloc/glibc.h')
-rw-r--r--kdecore/malloc/glibc.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/kdecore/malloc/glibc.h b/kdecore/malloc/glibc.h
new file mode 100644
index 000000000..5951cb335
--- /dev/null
+++ b/kdecore/malloc/glibc.h
@@ -0,0 +1,31 @@
+#define libc_malloc __libc_malloc
+#define libc_free __libc_free
+#define libc_realloc __libc_realloc
+#define libc_memalign __libc_memalign
+#define libc_valloc __libc_valloc
+#define libc_pvalloc __libc_pvalloc
+#define libc_calloc __libc_calloc
+/* return libc_icalloc( n, elem_size, chunks );*/
+/* return libc_icommaloc( n, sizes, chunks );*/
+#define libc_cfree __libc_free
+/* return libc_mtrim( s );*/
+/* return libc_musable( m );*/
+/* libc_mstats();*/
+#define libc_mallinfo __libc_mallinfo
+#define libc_mallopt __libc_mallopt
+
+void* __libc_malloc(size_t);
+void __libc_free(void*);
+void* __libc_calloc(size_t, size_t);
+void* __libc_realloc(void*, size_t);
+void* __libc_memalign(size_t, size_t);
+void* __libc_valloc(size_t);
+/*void** independent_calloc(size_t, size_t, void**);*/
+/*void** independent_comalloc(size_t, size_t*, void**);*/
+void* __libc_pvalloc(size_t);
+void __libc_cfree(void*);
+/*int malloc_trim(size_t);*/
+/*size_t malloc_usable_size(void*);*/
+/*void malloc_stats();*/
+struct mallinfo __libc_mallinfo(void);
+int __libc_mallopt(int, int);