diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-01 19:02:30 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-01 19:02:30 +0000 |
commit | 7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb (patch) | |
tree | 7f50a29ff09032e7dafaf1cda62b4f5f7cda9c61 /mdk-stage1/dietlibc/include/stdlib.h | |
parent | 2c4919ef0a9d14582a45bff234cea134a49ceaf9 (diff) | |
download | drakx-backup-do-not-use-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar drakx-backup-do-not-use-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.gz drakx-backup-do-not-use-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.bz2 drakx-backup-do-not-use-7d56735bc74dfeb5f60fe9ff9aec332a1f5f40cb.tar.xz drakx-backup-do-not-use-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/stdlib.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/stdlib.h | 2 |
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; |