summaryrefslogtreecommitdiffstats
path: root/tdecore/malloc/glibc.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
commite16866e072f94410321d70daedbcb855ea878cac (patch)
treeee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdecore/malloc/glibc.h
parenta58c20c1a7593631a1b50213c805507ebc16adaf (diff)
downloadtdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz
tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdecore/malloc/glibc.h')
-rw-r--r--tdecore/malloc/glibc.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdecore/malloc/glibc.h b/tdecore/malloc/glibc.h
new file mode 100644
index 000000000..5951cb335
--- /dev/null
+++ b/tdecore/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);