summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-01 19:02:30 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-01 19:02:30 +0000
commit7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb (patch)
tree7f50a29ff09032e7dafaf1cda62b4f5f7cda9c61 /mdk-stage1/dietlibc/include
parent2c4919ef0a9d14582a45bff234cea134a49ceaf9 (diff)
downloaddrakx-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar
drakx-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.gz
drakx-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.bz2
drakx-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.xz
drakx-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.zip
- have strncat behave the same way as in glibc
- declare that we're using the DIETLIBC in include/stdlib.h, so I can change my mind in "dns.c" to handle broken glibc which is not capable of doing name resolution with a static binary
Diffstat (limited to 'mdk-stage1/dietlibc/include')
-rw-r--r--mdk-stage1/dietlibc/include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/stdlib.h b/mdk-stage1/dietlibc/include/stdlib.h
index 800a80d10..1ec15e145 100644
--- a/mdk-stage1/dietlibc/include/stdlib.h
+++ b/mdk-stage1/dietlibc/include/stdlib.h
@@ -4,6 +4,8 @@
#include <sys/cdefs.h>
#include <sys/types.h>
+#define __LIBC_DIETLIBC__
+
void *calloc(size_t nmemb, size_t size) __THROW;
void *malloc(size_t size) __THROW;
void free(void *ptr) __THROW;