projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b3ae3
)
dos: add a prototype for calloc()
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 19 May 2009 23:50:30 +0000
(16:50 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 19 May 2009 23:50:30 +0000
(16:50 -0700)
Add a prototype for calloc() to the DOS installer library.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
dos/stdlib.h
patch
|
blob
|
history
diff --git
a/dos/stdlib.h
b/dos/stdlib.h
index
45b76a5
..
0804517
100644
(file)
--- a/
dos/stdlib.h
+++ b/
dos/stdlib.h
@@
-7,6
+7,7
@@
typedef unsigned int size_t;
void __attribute__((noreturn)) exit(int);
void *malloc(size_t);
+void *calloc(size_t, size_t);
void free(void *);
#endif