diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2008-08-01 14:03:21 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2008-08-01 14:03:21 -0700 |
| commit | 7602ec169ae0464a73cb3a5b4b1eefbbfae43057 (patch) | |
| tree | fccf7daa214a9a4fd25b757e1c9e0a4e2135b5f5 /com32/include | |
| parent | d721352927d7743d3e18dfd72e2a60d729377c8b (diff) | |
| download | syslinux-7602ec169ae0464a73cb3a5b4b1eefbbfae43057.tar.gz | |
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.h | 1 |
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); |
