aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-01 14:03:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-01 14:03:21 -0700
commit7602ec169ae0464a73cb3a5b4b1eefbbfae43057 (patch)
treefccf7daa214a9a4fd25b757e1c9e0a4e2135b5f5 /com32/include
parentd721352927d7743d3e18dfd72e2a60d729377c8b (diff)
downloadsyslinux.git-7602ec169ae0464a73cb3a5b4b1eefbbfae43057.tar.gz
syslinux.git-7602ec169ae0464a73cb3a5b4b1eefbbfae43057.tar.xz
syslinux.git-7602ec169ae0464a73cb3a5b4b1eefbbfae43057.zip
com32/lib: add zalloc()
Add the nonstandard, but often useful, zalloc() function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/include/stdlib.h b/com32/include/stdlib.h
index be4e76ed..e0fe7e39 100644
--- a/com32/include/stdlib.h
+++ b/com32/include/stdlib.h
@@ -37,6 +37,7 @@ static __inline__ long long llabs(long long __n) {
}
__extern __mallocfunc void *malloc(size_t);
+__extern __mallocfunc void *zalloc(size_t);
__extern __mallocfunc void *calloc(size_t, size_t);
__extern __mallocfunc void *realloc(void *, size_t);
__extern long strtol(const char *, char **, int);